CVE-2022-31004
Last modified
CVE-2022-31004 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.92% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mitre | Cve-Services | >= 1.1.1 |
References
- https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83Exploit, Third Party Advisory
- https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629Exploit, Third Party Advisory
- https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83Exploit, Third Party Advisory
- https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31004?
How severe is CVE-2022-31004?
How do I fix CVE-2022-31004?
Are you affected by CVE-2022-31004?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
