VULNERABILITY INTELLIGENCE
CVE-2022-31004
CVSS score7.5 HIGH
EPSS probability0.98%
CISA KEVNot currently listed
Published2022-06-02
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Description
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.
Weakness classification
- security-advisories@github.com: CWE-779
- nvd@nist.gov: CWE-312
Primary references
- security-advisories@github.com — Exploit, Third Party Advisory
- security-advisories@github.com — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory