CVE-2022-31004

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mitre:cve-services:*:*:*:*:*:*:*:*

History

10 Jun 2022, 15:58

Type Values Removed Values Added
CPE cpe:2.3:a:mitre:cve-services:*:*:*:*:*:*:*:*
CWE CWE-779 CWE-312
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 7.5
References (MISC) https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83 - (MISC) https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83 - Exploit, Third Party Advisory
References (CONFIRM) https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629 - (CONFIRM) https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629 - Exploit, Third Party Advisory

02 Jun 2022, 14:53

Type Values Removed Values Added
New CVE

Information

Published : 2022-06-02 14:15

Updated : 2024-02-04 22:29


NVD link : CVE-2022-31004

Mitre link : CVE-2022-31004

CVE.ORG link : CVE-2022-31004


JSON object : View

Products Affected

mitre

  • cve-services
CWE
CWE-312

Cleartext Storage of Sensitive Information

CWE-779

Logging of Excessive Data