CyberSecBulletin
CVE-2023-5720NVD status: Modified

gradle-plugin: Cleartext Storage of Sensitive Information in an Environment Variable

CVE-2023-5720 is a high-severity cleartext storage of sensitive information in an environment variable vulnerability in gradle-plugin, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 0.99% chance of exploitation within 30 days, higher than 63% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Quarkus to 3.2.8 or a later version.
  2. Read the advisory on access.redhat.com for workarounds and exact fixed builds.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Gradle-plugingradle-pluginNot specified in the recordNot stated
QuarkusQuarkus3.0.1 up to, but not including, 3.2.8; 3.0.03.2.8

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
NoneNothing can be modified.
Availability
NoneAvailability is not affected.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.17.7HighCNA (redhat.com)
CVSS 3.17.5HighNVD

Official description

A flaw was found in Quarkus, where it does not properly sanitize artifacts created using the Gradle plugin, allowing certain build system information to remain. This flaw allows an attacker to access potentially sensitive information from the build system within the application.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Cleartext Storage of Sensitive Information in an Environment Variable

The product uses an environment variable to store unencrypted sensitive information.

How developers prevent this class of flaw

  • If the environment variable is not necessary for the desired behavior, then remove it entirely, or clear it to an empty value.

More Cleartext Storage of Sensitive Information in an Environment Variable vulnerabilities (CWE-526)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Spotted an error? Tell us.