{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2009-12-17T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The htmlspecialchars function in PHP before 5.2.12 does not properly handle (1) overlong UTF-8 sequences, (2) invalid Shift_JIS sequences, and (3) invalid EUC-JP sequences, which allows remote attackers to conduct cross-site scripting (XSS) attacks by placing a crafted byte sequence before a special character."
                }
            ],
            "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": "37389",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_BID"
                    ],
                    "url": "http://www.securityfocus.com/bid/37389"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://www.php.net/releases/5_2_12.php"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://bugs.php.net/bug.php?id=49785"
                },
                {
                    "name": "40262",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/40262"
                },
                {
                    "name": "HPSBUX02543",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_HP"
                    ],
                    "url": "http://marc.info/?l=bugtraq&m=127680701405735&w=2"
                },
                {
                    "name": "1023372",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_SECTRACK"
                    ],
                    "url": "http://securitytracker.com/id?1023372"
                },
                {
                    "name": "37821",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/37821"
                },
                {
                    "name": "38648",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/38648"
                },
                {
                    "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://www.php.net/ChangeLog-5.php"
                },
                {
                    "name": "oval:org.mitre.oval:def:7085",
                    "tags": [
                        "vdb-entry",
                        "signature",
                        "x_refsource_OVAL"
                    ],
                    "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7085"
                },
                {
                    "name": "oval:org.mitre.oval:def:10005",
                    "tags": [
                        "vdb-entry",
                        "signature",
                        "x_refsource_OVAL"
                    ],
                    "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10005"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://support.apple.com/kb/HT4077"
                },
                {
                    "name": "ADV-2009-3593",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_VUPEN"
                    ],
                    "url": "http://www.vupen.com/english/advisories/2009/3593"
                },
                {
                    "name": "DSA-2001",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_DEBIAN"
                    ],
                    "url": "http://www.debian.org/security/2010/dsa-2001"
                },
                {
                    "name": "SSRT100152",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_HP"
                    ],
                    "url": "http://marc.info/?l=bugtraq&m=127680701405735&w=2"
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-07T06:54:09.694Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "37389",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_BID",
                            "x_transferred"
                        ],
                        "url": "http://www.securityfocus.com/bid/37389"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://www.php.net/releases/5_2_12.php"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://bugs.php.net/bug.php?id=49785"
                    },
                    {
                        "name": "40262",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/40262"
                    },
                    {
                        "name": "HPSBUX02543",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_HP",
                            "x_transferred"
                        ],
                        "url": "http://marc.info/?l=bugtraq&m=127680701405735&w=2"
                    },
                    {
                        "name": "1023372",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_SECTRACK",
                            "x_transferred"
                        ],
                        "url": "http://securitytracker.com/id?1023372"
                    },
                    {
                        "name": "37821",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/37821"
                    },
                    {
                        "name": "38648",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/38648"
                    },
                    {
                        "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://www.php.net/ChangeLog-5.php"
                    },
                    {
                        "name": "oval:org.mitre.oval:def:7085",
                        "tags": [
                            "vdb-entry",
                            "signature",
                            "x_refsource_OVAL",
                            "x_transferred"
                        ],
                        "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7085"
                    },
                    {
                        "name": "oval:org.mitre.oval:def:10005",
                        "tags": [
                            "vdb-entry",
                            "signature",
                            "x_refsource_OVAL",
                            "x_transferred"
                        ],
                        "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10005"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://support.apple.com/kb/HT4077"
                    },
                    {
                        "name": "ADV-2009-3593",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_VUPEN",
                            "x_transferred"
                        ],
                        "url": "http://www.vupen.com/english/advisories/2009/3593"
                    },
                    {
                        "name": "DSA-2001",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_DEBIAN",
                            "x_transferred"
                        ],
                        "url": "http://www.debian.org/security/2010/dsa-2001"
                    },
                    {
                        "name": "SSRT100152",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_HP",
                            "x_transferred"
                        ],
                        "url": "http://marc.info/?l=bugtraq&m=127680701405735&w=2"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "cveId": "CVE-2009-4142",
        "datePublished": "2009-12-21T16:00:00",
        "dateReserved": "2009-12-01T00:00:00",
        "dateUpdated": "2024-08-07T06:54:09.694Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}