CVE-2022-31004
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Summary
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
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| CVEProject | cve-services | <= 1.1.1 | affected |
Weaknesses
- CWE-779: CWE-779: Logging of Excessive Data
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629
- https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: yes
- Technical Impact: partial
References
- https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629
- https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.