2023-06-27 23:55:31 +00:00
{
"id" : "CVE-2023-36464" ,
"sourceIdentifier" : "security-advisories@github.com" ,
"published" : "2023-06-27T22:15:11.790" ,
2024-12-08 03:06:42 +00:00
"lastModified" : "2024-11-21T08:09:45.950" ,
"vulnStatus" : "Modified" ,
2024-07-14 02:06:08 +00:00
"cveTags" : [ ] ,
2023-06-27 23:55:31 +00:00
"descriptions" : [
{
"lang" : "en" ,
"value" : "pypdf is an open source, pure-python PDF library. In affected versions an attacker may craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. That is, for example, the case if the user extracted text from such a PDF. This issue was introduced in pull request #969 and resolved in pull request #1828. Users are advised to upgrade. Users unable to upgrade may modify the line `while peek not in (b\"\\r\", b\"\\n\")` in `pypdf/generic/_data_structures.py` to `while peek not in (b\"\\r\", b\"\\n\", b\"\")`."
}
] ,
"metrics" : {
"cvssMetricV31" : [
2023-07-06 18:00:39 +00:00
{
2024-12-08 03:06:42 +00:00
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
2023-07-06 18:00:39 +00:00
"cvssData" : {
"version" : "3.1" ,
2024-12-08 03:06:42 +00:00
"vectorString" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" ,
"baseScore" : 6.2 ,
"baseSeverity" : "MEDIUM" ,
2023-07-06 18:00:39 +00:00
"attackVector" : "LOCAL" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
2024-12-08 03:06:42 +00:00
"userInteraction" : "NONE" ,
2023-07-06 18:00:39 +00:00
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "NONE" ,
"integrityImpact" : "NONE" ,
2024-12-08 03:06:42 +00:00
"availabilityImpact" : "HIGH"
2023-07-06 18:00:39 +00:00
} ,
2024-12-08 03:06:42 +00:00
"exploitabilityScore" : 2.5 ,
2023-07-06 18:00:39 +00:00
"impactScore" : 3.6
} ,
2023-06-27 23:55:31 +00:00
{
2024-12-08 03:06:42 +00:00
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
2023-06-27 23:55:31 +00:00
"cvssData" : {
"version" : "3.1" ,
2024-12-08 03:06:42 +00:00
"vectorString" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H" ,
"baseScore" : 5.5 ,
"baseSeverity" : "MEDIUM" ,
2023-06-27 23:55:31 +00:00
"attackVector" : "LOCAL" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
2024-12-08 03:06:42 +00:00
"userInteraction" : "REQUIRED" ,
2023-06-27 23:55:31 +00:00
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "NONE" ,
"integrityImpact" : "NONE" ,
2024-12-08 03:06:42 +00:00
"availabilityImpact" : "HIGH"
2023-06-27 23:55:31 +00:00
} ,
2024-12-08 03:06:42 +00:00
"exploitabilityScore" : 1.8 ,
2023-06-27 23:55:31 +00:00
"impactScore" : 3.6
}
]
} ,
"weaknesses" : [
{
"source" : "security-advisories@github.com" ,
2024-12-08 03:06:42 +00:00
"type" : "Secondary" ,
2023-06-27 23:55:31 +00:00
"description" : [
{
"lang" : "en" ,
"value" : "CWE-835"
}
]
}
] ,
2023-07-06 18:00:39 +00:00
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*" ,
"versionEndExcluding" : "3.9.0" ,
"matchCriteriaId" : "43351A22-B6B0-4D07-9324-E74D03D39EE9"
} ,
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:pypdf2_project:pypdf2:*:*:*:*:*:*:*:*" ,
"versionStartIncluding" : "2.2.0" ,
"matchCriteriaId" : "DD9934DB-5ADB-4BD1-B3E8-2C06CCF199D6"
}
]
}
]
}
] ,
2023-06-27 23:55:31 +00:00
"references" : [
{
"url" : "https://github.com/py-pdf/pypdf/pull/1828" ,
2023-07-06 18:00:39 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
2023-06-27 23:55:31 +00:00
} ,
{
"url" : "https://github.com/py-pdf/pypdf/pull/969" ,
2023-07-06 18:00:39 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Issue Tracking" ,
"Patch"
]
2023-06-27 23:55:31 +00:00
} ,
{
"url" : "https://github.com/py-pdf/pypdf/security/advisories/GHSA-4vvm-4w3v-6mr8" ,
2023-07-06 18:00:39 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Exploit" ,
"Patch"
]
2024-12-08 03:06:42 +00:00
} ,
{
"url" : "https://github.com/py-pdf/pypdf/pull/1828" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Patch"
]
} ,
{
"url" : "https://github.com/py-pdf/pypdf/pull/969" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Issue Tracking" ,
"Patch"
]
} ,
{
"url" : "https://github.com/py-pdf/pypdf/security/advisories/GHSA-4vvm-4w3v-6mr8" ,
"source" : "af854a3a-2127-422b-91ae-364da2661108" ,
"tags" : [
"Exploit" ,
"Patch"
]
2023-06-27 23:55:31 +00:00
}
]
}