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

21 Nov 2024, 07:03

Type Values Removed Values Added
References () https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83 - Exploit, Third Party Advisory () https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83 - Exploit, Third Party Advisory
References () https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629 - Exploit, Third Party Advisory () https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629 - Exploit, Third Party Advisory

Information

Published : 2022-06-02 14:15

Updated : 2024-11-21 07:03


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-779

Logging of Excessive Data

CWE-312

Cleartext Storage of Sensitive Information