Vulnerability Details : CVE-2022-31004
Potential exploit
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.
Products affected by CVE-2022-31004
- cpe:2.3:a:mitre:cve-services:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-31004
0.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 35 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-31004
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2022-31004
-
The product stores sensitive information in cleartext within a resource that might be accessible to another control sphere.Assigned by: nvd@nist.gov (Primary)
-
The product logs too much information, making log files hard to process and possibly hindering recovery efforts or forensic analysis after an attack.Assigned by: security-advisories@github.com (Secondary)
References for CVE-2022-31004
-
https://github.com/CVEProject/cve-services/blob/6b085e481fd3b084a8828ef7489c6b82fa415c92/src/utils/data.js#L68-L83
cve-services/data.js at 6b085e481fd3b084a8828ef7489c6b82fa415c92 · CVEProject/cve-services · GitHubExploit;Third Party Advisory
-
https://github.com/CVEProject/cve-services/security/advisories/GHSA-mpwm-rmqp-7629
Potential secrets being logged to disk (2) · Advisory · CVEProject/cve-services · GitHubExploit;Third Party Advisory
Jump to