Vulnerability in altcha-lib (CVE-2025-68113)
Summary
vulnerability in altcha-lib (CVE-2025-68113). Risk of unauthorized operations or information disclosure. Exploitable via ``salt``. Mitigation: upgrade to `1.4.1` or later.
AI summary snake-internal / snake-material-v2
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'altcha-lib' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `altcha-lib` を grep し、稼働しているサービス・バージョンを把握する。
-
5Apply temporary workaround mitigate
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 `salt` value prior to HMAC computation (for example, `<salt>?expires=<time>&`). を実施。回避策の副作用 (機能低下) を確認した上で。
-
6Apply patch patch
Upgrade altcha-lib to 1.4.1ステージング環境で 1.4.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
References
- advisory https://nvd.nist.gov/vuln/detail/CVE-2025-68113
- advisory https://github.com/advisories/GHSA-6gvq-jcmp-8959
- package https://github.com/altcha-org/altcha-lib
- package https://pypi.org/project/altcha
- web https://github.com/altcha-org/altcha-lib/security/advisories/GHSA-6gvq-jcmp-8959
- web https://github.com/altcha-org/altcha-lib-ex/commit/09b2bad466ad0338a5b24245380950ea9918333e
- web https://github.com/altcha-org/altcha-lib-go/commit/4a5610745ef79895a67bac858b2e4f291c2614b8
- web https://github.com/altcha-org/altcha-lib-java/commit/69277651fdd6418ae10bf3a088901506f9c62114
- web https://github.com/altcha-org/altcha-lib-php/commit/9e9e70c864a9db960d071c77c778be0c9ff1a4d0
- web https://github.com/altcha-org/altcha-lib-rb/commit/4fd7b64cbbfc713f3ca4e066c2dd466e3b8d359b
- web https://github.com/altcha-org/altcha-lib/commit/cb95d83a8d08e273b6be15e48988e7eaf60d5c08
- web https://github.com/altcha-org/altcha-lib-java/releases/tag/v1.3.0
- web https://github.com/altcha-org/altcha-lib-php/releases/tag/v1.3.1
- web https://github.com/altcha-org/altcha-lib/releases/tag/1.4.1
- web https://github.com/rubysec/ruby-advisory-db/blob/master/gems/altcha/CVE-2025-68113.yml