CVE-2022-31004: Potential secrets being logged to disk in CVE Services

Published May 25, 2022
·
Updated

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

1 affected component
MITRE Cve-services>=1.1.1

Event History

May 25, 2022
CVE Published
via MITRE·09:55 PM
Data Sourced
via MITRE·09:55 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How does CVE-2022-31004 affect Mitre Cve-services?

CVE-2022-31004 affects Mitre Cve-services versions 1.1.1 and above.

3

What is the severity of CVE-2022-31004?

CVE-2022-31004 has a severity rating of 7.5 (high).

4

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.

5

What are the Common Weakness Enumeration (CWE) identifiers associated with CVE-2022-31004?

CVE-2022-31004 is associated with CWE-312 and CWE-779.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203