CVE-2022-31004: Potential secrets being logged to disk in CVE Services
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 Software
Event History
Frequently Asked Questions
What is CVE-2022-31004?
CVE-2022-31004 is a vulnerability in the CVEProject/cve-services open source project that allows potential exposure of production secrets if certain conditions are met.
How does CVE-2022-31004 affect Mitre Cve-services?
CVE-2022-31004 affects Mitre Cve-services versions 1.1.1 and above.
What is the severity of CVE-2022-31004?
CVE-2022-31004 has a severity rating of 7.5 (high).
How can I fix CVE-2022-31004?
To fix CVE-2022-31004, update your Mitre Cve-services to a version that includes the necessary patches or fixes.
What are the Common Weakness Enumeration (CWE) identifiers associated with CVE-2022-31004?
CVE-2022-31004 is associated with CWE-312 and CWE-779.