- Home
- Vulnerabilities
- CVE-2022-31004
CVE-2022-31004
CVEProject/cve-services is an open source project used to operate the CVE services API. A conditional in…
Medium
54/100
Summary
CVEProject/cve-services is an open source project used to operate the CVE services API. A conditional in 'data.js' has potential for production secrets to be written to disk. The affected method writes the generated randomKey to disk if the environment is not development. If this method were called in production, it is possible that it would write the plaintext key to disk. A patch is not available as of time of publication but is anticipated as a "hot fix" for version 1.1.1 and for the 2.x branch.
Affected products and versions
Mitre (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Cve services | from 1.1.1 (included) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
References
- https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83Exploit, Third Party Advisory
- https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629Exploit, Third Party Advisory
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, NVD)- Weakness
- CWE-312 · Autre (CWE-312)