Vulnerability in nodejs
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 DEBIAN-CVE-2023-30590 has been found in nodejs.
Data can be tampered with by attackers.
What to do: upgrade nodejs to 12.22.12dfsg-1deb11u5 or later.
If unsure, ask your IT team or search "nodejs DEBIAN-CVE-2023-30590" on the vendor's site.
DEBIAN-CVE-2023-30590 (nodejs)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 12.22.12~dfsg-1~deb11u5 — apply immediately
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 (unclassified) exists in nodejs.
Check the vendor advisory for the affected versions of nodejs.
Severity: ?. Data can be tampered with by attackers.
Update to 12.22.12dfsg-1deb11u5.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'nodejs' . 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 'nodejs' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
nodejsを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade nodejs to 12.22.12~dfsg-1~deb11u5ステージング環境で 12.22.12
dfsg-1deb11u5 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。 -
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:11nodejs |
< 12.22.12~dfsg-1~deb11u5→ 12.22.12~dfsg-1~deb11u5 |
12.22.12~dfsg-1~deb11u5 |
| Debian:12nodejs |
< 18.19.0+dfsg-6~deb12u1→ 18.19.0+dfsg-6~deb12u1 |
18.19.0+dfsg-6~deb12u1 |
| Debian:13nodejs |
< 18.13.0+dfsg1-1.1→ 18.13.0+dfsg1-1.1 |
18.13.0+dfsg1-1.1 |
| Debian:14nodejs |
< 18.13.0+dfsg1-1.1→ 18.13.0+dfsg1-1.1 |
18.13.0+dfsg1-1.1 |
Original description The description as published by the source.
The generateKeys() API function returned from crypto.createDiffieHellman() only generates missing (or outdated) keys, that is, it only generates a private key if none has been set yet, but the function is also needed to compute the corresponding public key after calling setPrivateKey(). However, the documentation says this API call: "Generates private and public Diffie-Hellman key values". The documented behavior is very different from the actual behavior, and this difference could easily lead to security issues in applications that use these APIs as the DiffieHellman may be used as the basis for application-level security, implications are consequently broad.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org