CVE-2026-61847
Mở trang đầy đủCVSS 6.3 MEDIUM
Crass: A large number of adjacent CSS comments can trigger a SystemStackError
Mô tả
Impact
When the :preserve_comments option is not enabled (which is the default behavior), Crass discards CSS comments by recursively consuming the next token. An attacker who provides a stylesheet containing a very large number of adjacent comments can cause excessive recursion and trigger a SystemStackError.
Patches
This is fixed in Crass 1.0.7, which no longer recurses when discarding comments.
Workarounds
Set the :preserve_comments option to true if this is acceptable to your use case (recursion doesn't occur when comments are preserved).
Điểm và phân loại
- CVSS
- 6.3 MEDIUM v4.0
- Nguồn điểm
- NVD
- Mức độ (theo nguồn)
- MEDIUM
- EPSS
- —
- CWE
- CWE-674
Vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Ảnh hưởng
| Package | Bản bị ảnh hưởng | Bản đã sửa |
|---|---|---|
rubygems crass |
< 1.0.7 |
1.0.7
|
Sản phẩm
- rgrove crass
Vì sao bị lọc
- CVSS 6.3 < 8.0 và không thuộc CISA KEV
Loại tác động
Không nhận ra loại tác động nào từ CWE, vector hay mô tả.
Dữ liệu riêng của nguồn
- CVE.org · Đơn vị cấp mã
- GitHub_M
- CVE.org · SSVC
- Tự động hoá được: no · Khai thác: none · Tác động kỹ thuật: partial
- OSV.dev · ID
- GHSA-wwpr-jff3-395c
Tham khảo
- https://github.com/advisories/GHSA-wwpr-jff3-395c
- https://github.com/rgrove/crass/security/advisories/GHSA-wwpr-jff3-395c
- https://github.com/rgrove/crass/commit/25d78cc607c54262e9d43ea1930f3ba5bb03dfb5
- https://github.com/rgrove/crass/releases/tag/v1.0.7
- https://osv.dev/vulnerability/GHSA-wwpr-jff3-395c
- https://github.com/rgrove/crass