PT-2021-2347

CVE-2021-21331

·

Published

2021-02-04

·

Updated

2021-03-10

Description by

CVSS 2.0
4.3
Medium
MetricsAV:N/AC:M/Au:N/C:P/I:N/A:N
Name of the Vulnerable Software and Affected Versions Datadog API Client versions prior to 1.0.0-beta.9
Description The issue is related to the creation of temporary files with insecure permissions by the prepareDownloadFilecreates method, allowing local information disclosure of sensitive information downloaded via the API. This occurs on unix-like systems with multiple users, where the system temporary directory is shared. The exploitation likelihood is considered low due to the affected code being unused. The vulnerability exists in API Client versions 1 and 2.
Recommendations For versions prior to 1.0.0-beta.9, update to version 1.0.0-beta.9 to resolve the issue. As a temporary workaround, specify java.io.tmpdir when starting the JVM with the flag -Djava.io.tmpdir, specifying a path to a directory with drw------- permissions owned by dd-agent.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-2CXF-6567-7PP6
Found an issue in the description? Have something to add? Feel free to write us 👾