CVE-2021-45394
Published: 18 January 2022
Summary
CVE-2021-45394 is a high-severity Deserialization of Untrusted Data (CWE-502) vulnerability in Html2Pdf Project Html2Pdf. Its CVSS base score is 8.8 (High).
Operationally, ranked in the top 40.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-0482
Vulnerability details
An issue was discovered in Spipu HTML2PDF before 5.2.4. Attackers can trigger deserialization of arbitrary data via the injection of a malicious <link> tag in the converted HTML document.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing attempts server-side requests to internal resources, identifying SSRF weaknesses for remediation.
Validates server-side URLs and resource references to block SSRF attempts.
Evaluation of untrusted data handling (deserialization testing) reveals unsafe processing, which the required remediation process addresses.
Untrusted serialized data can be deserialized and observed inside the chamber, blocking gadget-chain exploitation outside the sandbox.
Outbound connections to external resources can be monitored and limited at the boundary, reducing SSRF impact.
Identifies and blocks malicious code introduced through deserialization of untrusted data at system boundaries.
Detects server-side request forgery through monitoring of unexpected outbound connections.
Integrity verification of serialized information can detect tampering before deserialization occurs.