VDB
GHSA-6p2r-x9m6-65cq
GHSA-6p2r-x9m6-65cq
PUBLISHED
Record from GitHub Advisory Database · Published May 2, 2022
The tempnam function in ext/standard/file.c in PHP before 5.2.12 and 5.3.x before 5.3.1 allows context-dependent attackers to bypass safe_mode restrictions, and create files in group-writable or world-writable directories, via the dir and prefix arguments.
Timeline
- May 2, 2022 CVE Published
- Apr 9, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-6p2r-x9m6-65cq
vulnetix vdb fixes GHSA-6p2r-x9m6-65cq
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-6p2r-x9m6-65cq/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7396 url
- http://secunia.com/advisories/40262 url
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/standard/file.c?view=log url
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:285 url
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:302 url
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:303 url
- http://www.openwall.com/lists/oss-security/2009/11/20/2 url
- http://www.openwall.com/lists/oss-security/2009/11/20/5 url
- http://www.php.net/ChangeLog-5.php url
- http://www.php.net/releases/5_3_1.php url
- http://secunia.com/advisories/37821 url
- https://nvd.nist.gov/vuln/detail/CVE-2009-3557 advisory
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html url
- http://marc.info/?l=bugtraq&m=127680701405735&w=2 url
- http://news.php.net/php.announce/79 url
- http://securityreason.com/securityalert/6601 url
- http://www.vupen.com/english/advisories/2009/3593 url
- http://secunia.com/advisories/37412 url
- http://support.apple.com/kb/HT4077 url
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/standard/file.c?view=log url
…and 3 more