CVE-2023-52081CWE-176CWE-74

ewen-lbh/ffcss late-Unicode normalization vulnerability

Medium · published December 28, 2023

CVSS v3.1
5.3
EPSS
1%
Percentile
43.5
In the wild
Unconfirmed
What it is

ffcss is a CLI interface to apply and configure Firefox CSS themes. Prior to 0.2.0, the function `lookupPreprocess()` is meant to apply some transformations to a string by disabling characters in the regex `[-_ .]`. However, due to the use of late Unicode normalization of type NFKD, it is possible to bypass that validation and re-introduce all the characters in the regex `[-_ .]`. The `lookupPreprocess()` can be easily bypassed with equivalent Unicode characters like U+FE4D (﹍), which would result in the omitted U+005F (_), for instance. The `lookupPreprocess()` function is only ever used to search for themes loosely (case insensitively, while ignoring dashes, underscores and dots), so the actual security impact is classified as low. This vulnerability is fixed in 0.2.0. There are no known workarounds.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00522 · 43.5th percentile
Weaknesses
CWE-176 · Improper Handling of Unicode Encoding; CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2023-12-28T15:34Z
EPSS history
Timeline
  • 28 DEC 15:34Z
    ewen-lbh/ffcss late-Unicode normalization vulnerability
    cvelistv5