Fulgur
Monthly
Server-side HTML/CSS-to-PDF conversion in the Rust crate fulgur versions 0.6.0 through 0.32.x can be driven into quadratic CPU consumption and heavy log flooding by crafted stylesheets, exhausting resources for the rendering host and any co-tenant sharing it. An attacker who can get CSS into a rendered document only needs two ordinary constructs - a long box-shadow list on body or another positioned ancestor, plus a rule making ::before/::after absolutely positioned on many repeated elements - to turn linear conversion work into roughly O(M x N) work while emitting a warning log line per blurred or inset shadow on every pass, and both counts are attacker-controlled and unbounded. Impact is availability only (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, CWE-400); no public exploit code was identified at time of analysis, and the issue is patched in 0.33.0.
Memory and CPU exhaustion in the fulgur Rust HTML-to-PDF crate (versions 0.4.4 up to but not including 0.29.0) lets an attacker who can submit HTML/CSS to a conversion service exhaust the renderer with a very small document. The trigger is a CSS `string-set` rule whose attacker-controlled named-string value - a large CSS string literal, `content(text)`, or `attr(...)` - is either re-applied across many matched elements or folded as many distinct named strings onto a single element, so retained memory grows roughly as value_size × N and is cloned again downstream. The supplied CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a worst-case network-facing, multi-tenant conversion deployment where no authentication or user interaction is required; deployments that only convert trusted input, or that split HTML receipt from rendering, are less exposed. No public exploit code has been identified at time of analysis.
CPU and memory exhaustion in the fulgur Rust HTML/CSS-to-PDF crate (versions 0.15.0 up to but not including 0.27.0) lets remote attackers knock over a conversion service with a few kilobytes of crafted markup: many sibling elements each carrying `counter-reset`, combined with an attacker-controlled long `counters(name, sep)` separator, expand to roughly separator_length × N²/2 bytes of generated content because the library bounded neither a single expansion nor the aggregate work across the element tree. The impact is availability only - a network-facing service that renders untrusted HTML/CSS without user interaction or authentication (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) can be denied to the host and any co-tenants; the advisory notes that a deployment which receives HTML in one component and hands it to fulgur in a separate component may defensibly score a lower environmental Attack Vector. No public exploit code and no confirmed active exploitation were identified at time of analysis, and the issue is fixed in 0.27.0.
Server-side HTML/CSS-to-PDF conversion in the Rust crate fulgur versions 0.6.0 through 0.32.x can be driven into quadratic CPU consumption and heavy log flooding by crafted stylesheets, exhausting resources for the rendering host and any co-tenant sharing it. An attacker who can get CSS into a rendered document only needs two ordinary constructs - a long box-shadow list on body or another positioned ancestor, plus a rule making ::before/::after absolutely positioned on many repeated elements - to turn linear conversion work into roughly O(M x N) work while emitting a warning log line per blurred or inset shadow on every pass, and both counts are attacker-controlled and unbounded. Impact is availability only (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, CWE-400); no public exploit code was identified at time of analysis, and the issue is patched in 0.33.0.
Memory and CPU exhaustion in the fulgur Rust HTML-to-PDF crate (versions 0.4.4 up to but not including 0.29.0) lets an attacker who can submit HTML/CSS to a conversion service exhaust the renderer with a very small document. The trigger is a CSS `string-set` rule whose attacker-controlled named-string value - a large CSS string literal, `content(text)`, or `attr(...)` - is either re-applied across many matched elements or folded as many distinct named strings onto a single element, so retained memory grows roughly as value_size × N and is cloned again downstream. The supplied CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects a worst-case network-facing, multi-tenant conversion deployment where no authentication or user interaction is required; deployments that only convert trusted input, or that split HTML receipt from rendering, are less exposed. No public exploit code has been identified at time of analysis.
CPU and memory exhaustion in the fulgur Rust HTML/CSS-to-PDF crate (versions 0.15.0 up to but not including 0.27.0) lets remote attackers knock over a conversion service with a few kilobytes of crafted markup: many sibling elements each carrying `counter-reset`, combined with an attacker-controlled long `counters(name, sep)` separator, expand to roughly separator_length × N²/2 bytes of generated content because the library bounded neither a single expansion nor the aggregate work across the element tree. The impact is availability only - a network-facing service that renders untrusted HTML/CSS without user interaction or authentication (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) can be denied to the host and any co-tenants; the advisory notes that a deployment which receives HTML in one component and hands it to fulgur in a separate component may defensibly score a lower environmental Attack Vector. No public exploit code and no confirmed active exploitation were identified at time of analysis, and the issue is fixed in 0.27.0.