2023-06-30 20:00:34 +00:00
{
"id" : "CVE-2023-36807" ,
"sourceIdentifier" : "security-advisories@github.com" ,
"published" : "2023-06-30T19:15:09.283" ,
2023-07-10 18:00:52 +00:00
"lastModified" : "2023-07-10T16:32:45.017" ,
"vulnStatus" : "Analyzed" ,
2023-06-30 20:00:34 +00:00
"descriptions" : [
{
"lang" : "en" ,
"value" : "pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. In version 2.10.5 an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. That is, for example, the case if the user extracted metadata from such a malformed PDF. Versions prior to 2.10.5 throw an error, but do not hang forever. This issue was fixed with https://github.com/py-pdf/pypdf/pull/1331 which has been included in release 2.10.6. Users are advised to upgrade. Users unable to upgrade should modify `PyPDF2/generic/_data_structures.py::read_object` to an an error throwing case. See GHSA-hm9v-vj3r-r55m for details. "
}
] ,
"metrics" : {
"cvssMetricV31" : [
2023-07-10 18:00:52 +00:00
{
"source" : "nvd@nist.gov" ,
"type" : "Primary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "REQUIRED" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "NONE" ,
"integrityImpact" : "NONE" ,
"availabilityImpact" : "HIGH" ,
"baseScore" : 6.5 ,
"baseSeverity" : "MEDIUM"
} ,
"exploitabilityScore" : 2.8 ,
"impactScore" : 3.6
} ,
2023-06-30 20:00:34 +00:00
{
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" ,
"attackVector" : "LOCAL" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "NONE" ,
"integrityImpact" : "NONE" ,
"availabilityImpact" : "HIGH" ,
"baseScore" : 6.2 ,
"baseSeverity" : "MEDIUM"
} ,
"exploitabilityScore" : 2.5 ,
"impactScore" : 3.6
}
]
} ,
"weaknesses" : [
{
"source" : "security-advisories@github.com" ,
"type" : "Primary" ,
"description" : [
{
"lang" : "en" ,
"value" : "CWE-835"
}
]
}
] ,
2023-07-10 18:00:52 +00:00
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:pypdf_project:pypdf:2.10.5:*:*:*:*:*:*:*" ,
"matchCriteriaId" : "8BD8B7BF-3DD0-4276-9DB5-C0E222DFD085"
}
]
}
]
}
] ,
2023-06-30 20:00:34 +00:00
"references" : [
{
"url" : "https://github.com/py-pdf/pypdf/issues/1329" ,
2023-07-10 18:00:52 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Exploit" ,
"Issue Tracking" ,
"Vendor Advisory"
]
2023-06-30 20:00:34 +00:00
} ,
{
"url" : "https://github.com/py-pdf/pypdf/pull/1331" ,
2023-07-10 18:00:52 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
2023-06-30 20:00:34 +00:00
} ,
{
"url" : "https://github.com/py-pdf/pypdf/security/advisories/GHSA-hm9v-vj3r-r55m" ,
2023-07-10 18:00:52 +00:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Exploit" ,
"Mitigation" ,
"Patch" ,
"Vendor Advisory"
]
2023-06-30 20:00:34 +00:00
}
]
}