{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2009-11-19T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2017-09-18T12:57:01",
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat"
            },
            "references": [
                {
                    "name": "[oss-security] 20091120 Re: CVE request: php 5.3.1 update",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2009/11/20/3"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://www.php.net/releases/5_2_12.php"
                },
                {
                    "name": "40262",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/40262"
                },
                {
                    "name": "6601",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SREASON"
                    ],
                    "url": "http://securityreason.com/securityalert/6601"
                },
                {
                    "name": "[php-announce] 20091119 5.3.1 Release announcement",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://news.php.net/php.announce/79"
                },
                {
                    "name": "HPSBUX02543",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_HP"
                    ],
                    "url": "http://marc.info/?l=bugtraq&m=127680701405735&w=2"
                },
                {
                    "name": "MDVSA-2009:285",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_MANDRIVA"
                    ],
                    "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:285"
                },
                {
                    "name": "37821",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/37821"
                },
                {
                    "name": "APPLE-SA-2010-03-29-1",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_APPLE"
                    ],
                    "url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/standard/file.c?view=log"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://www.php.net/ChangeLog-5.php"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://support.apple.com/kb/HT4077"
                },
                {
                    "name": "[oss-security] 20091120 CVE request: php 5.3.1 update",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2009/11/20/2"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://www.php.net/releases/5_3_1.php"
                },
                {
                    "name": "ADV-2009-3593",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_VUPEN"
                    ],
                    "url": "http://www.vupen.com/english/advisories/2009/3593"
                },
                {
                    "name": "[oss-security] 20091120 Re: CVE request: php 5.3.1 update",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://www.openwall.com/lists/oss-security/2009/11/20/5"
                },
                {
                    "name": "37412",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/37412"
                },
                {
                    "name": "MDVSA-2009:302",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_MANDRIVA"
                    ],
                    "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:302"
                },
                {
                    "name": "oval:org.mitre.oval:def:7396",
                    "tags": [
                        "vdb-entry",
                        "signature",
                        "x_refsource_OVAL"
                    ],
                    "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7396"
                },
                {
                    "name": "SSRT100152",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_HP"
                    ],
                    "url": "http://marc.info/?l=bugtraq&m=127680701405735&w=2"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://svn.php.net/viewvc?view=revision&revision=288945"
                },
                {
                    "name": "MDVSA-2009:303",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_MANDRIVA"
                    ],
                    "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:303"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/standard/file.c?view=log"
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-07T06:31:10.549Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "[oss-security] 20091120 Re: CVE request: php 5.3.1 update",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2009/11/20/3"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://www.php.net/releases/5_2_12.php"
                    },
                    {
                        "name": "40262",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/40262"
                    },
                    {
                        "name": "6601",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SREASON",
                            "x_transferred"
                        ],
                        "url": "http://securityreason.com/securityalert/6601"
                    },
                    {
                        "name": "[php-announce] 20091119 5.3.1 Release announcement",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://news.php.net/php.announce/79"
                    },
                    {
                        "name": "HPSBUX02543",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_HP",
                            "x_transferred"
                        ],
                        "url": "http://marc.info/?l=bugtraq&m=127680701405735&w=2"
                    },
                    {
                        "name": "MDVSA-2009:285",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_MANDRIVA",
                            "x_transferred"
                        ],
                        "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:285"
                    },
                    {
                        "name": "37821",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/37821"
                    },
                    {
                        "name": "APPLE-SA-2010-03-29-1",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_APPLE",
                            "x_transferred"
                        ],
                        "url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/standard/file.c?view=log"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://www.php.net/ChangeLog-5.php"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://support.apple.com/kb/HT4077"
                    },
                    {
                        "name": "[oss-security] 20091120 CVE request: php 5.3.1 update",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2009/11/20/2"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://www.php.net/releases/5_3_1.php"
                    },
                    {
                        "name": "ADV-2009-3593",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_VUPEN",
                            "x_transferred"
                        ],
                        "url": "http://www.vupen.com/english/advisories/2009/3593"
                    },
                    {
                        "name": "[oss-security] 20091120 Re: CVE request: php 5.3.1 update",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://www.openwall.com/lists/oss-security/2009/11/20/5"
                    },
                    {
                        "name": "37412",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/37412"
                    },
                    {
                        "name": "MDVSA-2009:302",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_MANDRIVA",
                            "x_transferred"
                        ],
                        "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:302"
                    },
                    {
                        "name": "oval:org.mitre.oval:def:7396",
                        "tags": [
                            "vdb-entry",
                            "signature",
                            "x_refsource_OVAL",
                            "x_transferred"
                        ],
                        "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7396"
                    },
                    {
                        "name": "SSRT100152",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_HP",
                            "x_transferred"
                        ],
                        "url": "http://marc.info/?l=bugtraq&m=127680701405735&w=2"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://svn.php.net/viewvc?view=revision&revision=288945"
                    },
                    {
                        "name": "MDVSA-2009:303",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_MANDRIVA",
                            "x_transferred"
                        ],
                        "url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:303"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/standard/file.c?view=log"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "cveId": "CVE-2009-3557",
        "datePublished": "2009-11-23T17:00:00",
        "dateReserved": "2009-10-05T00:00:00",
        "dateUpdated": "2024-08-07T06:31:10.549Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}