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

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-15T18:33:21.000Z
- Modified: 2024-11-29T05:40:03.384Z

## 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](https://github.com/DataDog/dd-trace-php/pull/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.

(As written by GitHub Advisory Database.)

## Affected

- datadog/dd-trace (Packagist): from 0.30.0 before 0.30.2

## References

- <https://github.com/DataDog/dd-trace-php/pull/579> (web)
- <https://github.com/DataDog/dd-trace-php/commit/87fc324eb63d533b35464f1dfca946795f2294fd> (web)
- <https://github.com/DataDog/dd-trace-php> (package)
- <https://github.com/DataDog/dd-trace-php/releases/tag/0.30.0> (web)
- <https://github.com/DataDog/dd-trace-php/releases/tag/0.30.2> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/datadog/dd-trace/2019-09-26-1.yaml> (web)

## Sources

- GitHub Advisory Database: [GHSA-qvgg-r6rq-vwfx](https://github.com/advisories/GHSA-qvgg-r6rq-vwfx), CC-BY-4.0, modified 2024-11-29

---

Page: https://cve.day/GHSA-qvgg-r6rq-vwfx · Whole record: https://cve.day/GHSA-qvgg-r6rq-vwfx.json · Rebuilt by cve.day 2026-11-25T22:56:32.882Z
