CVE-2022-31004 HIGH

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

Vendor Cveproject
Product cve-services
Weakness CWE-779
Published May 25, 2022
Last update April 22, 2025

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 25, 2022 CVE published
April 22, 2025 Record updated