Fulgur-rs fulgur
fulgur: Unbounded counters() expansion in generated content causes memory/CPU exhaustion (denial of service)
fulgur converts untrusted HTML/CSS into PDF, commonly on a server that processes input supplied by many tenants. From version 0.15.0 to before version 0.27.0, resolving the CSS counters(name, sep) function in generated content was bounded neither in the size of a single expansion nor in the aggregate work across an element tree. An attacker able to submit HTML/CSS to a fulgur-based conversion service can trigger CPU and memory exhaustion with a trivially small payload, denying service to the host and any co-tenants. This issue has been patched in version 0.27.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.15.0, < 0.27.0
Fixed in 0.27.0
Mitigation
Upgrade fulgur to 0.27.0 or later.
References
- Vendor advisory github.com/fulgur-rs/fulgur/security/advisorie…
- Patch github.com/fulgur-rs/fulgur/commit/ebc75691ad3…
- Release notes github.com/fulgur-rs/fulgur/releases/tag/v0.27…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.