Skip to content

GHSA-qvgg-r6rq-vwfx datadog/dd-trace Circumvents open_basedir INI directive

Unknown
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

datadog/dd-trace versions 0.30.0 prior to 0.30.2 are affected by a security and stability issue outlined in PR #579. This pull request ensures that the ddtrace.request_init_hook remains bound by the open_basedir INI directive, effectively addressing potential vulnerabilities related to open_basedir restrictions.
The update introduces a sandboxing mechanism to isolate the request init hook from errors or exceptions during execution, enhancing the library's stability and preventing adverse impacts on the main script.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
datadog/dd-trace(Packagist) = 0.30.0; = 0.30.1; >= 0.30.0, < 0.30.2 0.30.2 Fixed

Affected products

ProductAffected versionsFixed in
datadog/dd-trace(Packagist) >= 0.30.0, < 0.30.2 0.30.2
datadog/dd-trace(Packagist) = 0.30.0 No fix listed
datadog/dd-trace(Packagist) = 0.30.1 No fix listed

References