CVE-2025-9288
sha.js: Missing type checks leading to hash rewind and passing on crafted data
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high), Ubuntu (medium).
Description
Improper Input Validation vulnerability in sha.js allows Input Data Manipulation.This issue affects sha.js: through 2.4.11.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | sha.js | 2.4.12 |
| chainguard | gitlab-rails-ce-18.1, gitlab-rails-ce-18.11, gitlab-rails-ce-19.0 and 9 more | 18.1.6-r15 and 9 more |
| debian 11 | node-sha.js | 2.4.11-2+deb11u1 |
| debian 12 | node-sha.js | 2.4.11+~2.4.0-2+deb12u1 |
| debian 13 | node-sha.js | 2.4.11+~2.4.0-2+deb13u1 |
| debian 14 | node-sha.js | 2.4.12+~3.0.5-1 |
| echo | node-sha.js | 2.4.11+~2.4.0-2+deb12u1 |
| rapidfort debian 12 | node-sha.js | 0:2.4.11+~2.4.0-2+deb12u1 |
| rapidfort debian 13 | node-sha.js | 0:2.4.11+~2.4.0-2+deb12u1 |
| rapidfort ubuntu 20.04 | node-sha.js | 0:2.4.11+~2.4.0-1ubuntu0.1, 0:2.4.11+~2.4.0-2+deb13u1build0.24.04.1 |
| rapidfort ubuntu 22.04 | node-sha.js | 0:2.4.11+~2.4.0-1ubuntu0.1, 0:2.4.11+~2.4.0-2+deb13u1build0.24.04.1 |
| rapidfort ubuntu 24.04 | node-sha.js | 0:2.4.11+~2.4.0-1ubuntu0.1, 0:2.4.11+~2.4.0-2+deb13u1build0.24.04.1 |
Show all 31 entries from 19 sources
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | sha.js | 2.4.12 |
| chainguard | gitlab-rails-ce-18.1 | 18.1.6-r15 |
| chainguard | gitlab-rails-ce-18.11 | 18.11.6-r4 |
| chainguard | gitlab-rails-ce-19.0 | 19.0.3-r4 |
| chainguard | gitlab-rails-ce-19.1 | 19.1.1-r1 |
| chainguard | gitlab-rails-ce-fips-18.1 | 18.1.6-r30 |
| chainguard | gitlab-rails-ce-fips-18.10 | 18.10.8-r8 |
| chainguard | gitlab-rails-ce-fips-18.11 | 18.11.6-r4 |
| chainguard | gitlab-rails-ce-fips-18.9 | 18.9.8-r8 |
| chainguard | gitlab-rails-ce-fips-19.0 | 19.0.3-r3 |
| chainguard | gitlab-rails-ce-fips-19.1 | 19.1.1-r4 |
| chainguard | opensearch-dashboards-3 | 3.1.0-r4 |
| chainguard | opensearch-dashboards-3-fips | 3.1.0-r4 |
| debian 11 | node-sha.js | 2.4.11-2+deb11u1 |
| debian 12 | node-sha.js | 2.4.11+~2.4.0-2+deb12u1 |
| debian 13 | node-sha.js | 2.4.11+~2.4.0-2+deb13u1 |
| debian 14 | node-sha.js | 2.4.12+~3.0.5-1 |
| echo | node-sha.js | 2.4.11+~2.4.0-2+deb12u1 |
| rapidfort debian 12 | node-sha.js | 0:2.4.11+~2.4.0-2+deb12u1 |
| rapidfort debian 13 | node-sha.js | 0:2.4.11+~2.4.0-2+deb12u1 |
| rapidfort ubuntu 20.04 | node-sha.js | 0:2.4.11+~2.4.0-1ubuntu0.1, 0:2.4.11+~2.4.0-2+deb13u1build0.24.04.1 |
| rapidfort ubuntu 22.04 | node-sha.js | 0:2.4.11+~2.4.0-1ubuntu0.1, 0:2.4.11+~2.4.0-2+deb13u1build0.24.04.1 |
| rapidfort ubuntu 24.04 | node-sha.js | 0:2.4.11+~2.4.0-1ubuntu0.1, 0:2.4.11+~2.4.0-2+deb13u1build0.24.04.1 |
| Red Hat | openshift-service-mesh/kiali-ossmc-rhel8 | no fix listed |
| Red Hat | openshift-service-mesh/kiali-rhel8 | no fix listed |
| ubuntu 18.04-ESM | node-sha.js | 2.4.9-1ubuntu0.1~esm1 |
| ubuntu 20.04-ESM | node-sha.js | 2.4.11-2ubuntu0.1~esm1 |
| ubuntu 22.04 | node-sha.js | 2.4.11+~2.4.0-1ubuntu0.1 |
| ubuntu 24.04 | node-sha.js | 2.4.11+~2.4.0-2+deb13u1build0.24.04.1 |
| ubuntu 25.04 | node-sha.js | 2.4.11+~2.4.0-2+deb13u1build0.25.04.1 |
| wolfi | opensearch-dashboards-3 | 3.1.0-r4 |
References
- https://access.redhat.com/security/cve/CVE-2025-9288
- https://github.com/browserify/sha.js
- https://github.com/browserify/sha.js/commit/f2a258e9f2d0fcd113bfbaa49706e1ac0d979ba5
- https://github.com/browserify/sha.js/pull/78
- https://github.com/browserify/sha.js/security/advisories/GHSA-95m3-7q98-8xr5
- https://lists.debian.org/debian-lts-announce/2025/09/msg00016.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-9288
- https://ubuntu.com/security/notices/USN-7778-1