CVE-2022-31004
mediumpriority · track · 30OT risk · elevatedEPSS 0.010 · 62 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-31004/cnnvd
- https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83cnnvd
- https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022053008cnnvd
- https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83enisa_euvd
- https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629enisa_euvd
- https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83ExploitThird Party Advisorynvd
- https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629ExploitThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan