1. Home
  2. Vulnerabilities
  3. CVE-2022-31004

CVE-2022-31004

CVEProject/cve-services is an open source project used to operate the CVE services API. A conditional in…

Published 2 Jun 2022 · modified 17 Jun 2026 · Sources: NVD, EPSS (FIRST)

Medium 54/100

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 products and versions

Mitre (1 line(s))
Mitre
ProductVersionsFixed inSource
Cve services from 1.1.1 (included) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1, NVD)
Weakness
CWE-312 · Autre (CWE-312)

How this data is obtained and calculated