Vulnerability in altcha-lib
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2025-68113 has been found in altcha-lib.
Attackers can target a specific entry point like salt over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 6.5/10.
What to do: upgrade altcha-lib to 1.4.1 or later.
If unsure, ask your IT team or search "altcha-lib CVE-2025-68113" on the vendor's site.
CVE-2025-68113 (altcha-lib) — CWE-115 / CVSS v3 6.5
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: salt
Patched: 1.4.1 — apply immediately
Workaround: As a mitigation, implementations may append a delimiter to the end of the salt value prior to HMAC computation (for example, <salt>?expires=<time>&).
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-115) exists in altcha-lib. Attackers reach the vulnerable code path via salt without authentication.
Check the vendor advisory for the affected versions of altcha-lib. Attack surface: salt.
Severity: Medium (CVSS 6.5/10). Risk of unauthorized operations or information disclosure.
Update to 1.4.1.
Workaround: As a mitigation, implementations may append a delimiter to the end of the salt value prior to HMAC computation (for example, <salt>?expires=<time>&).
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'altcha-lib' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'altcha-lib' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
altcha-libを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
As a mitigation, implementations may append a delimiter to the end of the `salt` value prior to HMAC computation (for example, `<salt>?expires=<time>&`).パッチが適用されるまでの応急処置として、As a mitigation, implementations may append a delimiter to the end of the
saltvalue prior to HMAC computation (for example,<salt>?expires=<time>&). を実施。回避策の副作用 (機能低下) を確認した上で。 -
3
Apply patchpatch
Upgrade altcha-lib to 1.4.1ステージング環境で 1.4.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmaltcha-lib |
< 1.4.1→ 1.4.1 |
1.4.1 |
| Packagistaltcha-org/altcha |
< 1.3.1→ 1.3.1 |
1.3.1 |
| Gogithub.com/altcha-org/altcha-lib-go |
< 1.0.0→ 1.0.0 |
1.0.0 |
| Mavenorg.altcha:altcha |
< 1.3.0→ 1.3.0 |
1.3.0 |
| RubyGemsaltcha |
< 1.0.0→ 1.0.0 |
1.0.0 |
| PyPIaltcha |
< 1.0.0→ 1.0.0 |
1.0.0 |
| Hexaltcha |
< 1.0.0→ 1.0.0 |
1.0.0 |
Original description The description as published by the source.
ALTCHA is privacy-first software for captcha and bot protection. A cryptographic semantic binding flaw in ALTCHA libraries allows challenge payload splicing, which may enable replay attacks. The HMAC signature does not unambiguously bind challenge parameters to the nonce, allowing an attacker to reinterpret a valid proof-of-work submission with a modified expiration value. This may allow previously solved challenges to be reused beyond their intended lifetime, depending on server-side replay handling and deployment assumptions. The vulnerability primarily impacts abuse-prevention mechanisms such as rate limiting and bot mitigation. It does not directly affect data confidentiality or integrity. This issue has been addressed by enforcing explicit semantic separation between challenge parameters and the nonce during HMAC computation. Users are advised to upgrade to patched versions, which include version 1.0.0 of the altcha Golang package, version 1.0.0 of the altcha Rubygem, version 1.0.0 of the altcha pip package, version 1.0.0 of the altcha Erlang package, version 1.4.1 of the altcha-lib npm package, version 1.3.1 of the altcha-org/altcha Composer package, and version 1.3.0 of the org.altcha:altcha Maven package. As a mitigation, implementations may append a delimiter to the end of the salt value prior to HMAC computation (for example, ?expires=&). This prevents ambiguity between parameters and the nonce and is backward-compatible with existing implementations, as the del…
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- advisory github.com
- package github.com
- package pypi.org
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com