libcssのメディアクエリ解析に脆弱性、細工したCSSでブラウザーが停止するおそれ
Summary
libcssは、0.9.2までのバージョンでメディアクエリの解析処理にNULLポインター参照の脆弱性があります。末尾にカンマが付いたメディアリストを含むスタイルシートを読み込むと、NetSurfなどの処理系が停止するおそれがあり、遠隔から攻撃される可能性があります。修正版の情報は現時点では確認できていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
libcssは、0.9.2までのバージョンでメディアクエリの解析処理にNULLポインター参照の脆弱性があります。末尾にカンマが付いたメディアリストを含むスタイルシートを読み込むと、NetSurfなどの処理系が停止するおそれがあり、遠隔から攻撃される可能性があります。修正版の情報は現時点では確認できていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| netsurf-browserlibcss |
≤ 0.9.2→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
libcss through 0.9.2 contains a NULL pointer dereference vulnerability in mq_parse_media_query() that allows remote attackers to crash consumers by supplying media lists ending in a comma. Attackers can serve a stylesheet whose @media or @import media list has a trailing comma, causing NetSurf or other parsers to crash.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory hackmd.io
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com