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.
Advisories
Source ID Title
EUVD EUVD EUVD-2022-52711 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 22 Apr 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-22T17:56:17.412Z

Reserved: 2022-05-18T00:00:00.000Z

Link: CVE-2022-31004

cve-icon Vulnrichment

Updated: 2024-08-03T07:03:40.181Z

cve-icon NVD

Status : Modified

Published: 2022-06-02T14:15:56.433

Modified: 2024-11-21T07:03:41.863

Link: CVE-2022-31004

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.