CVE-2023-52081 ewen-lbh/ffcss late-Unicode normalization vulnerability
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ewen-lbh firefox css | < 0.2.0 | 0.2.0 | Fixed |
| ewen-lbh github.com/ewen-lbh/ffcss(Go) | < 0.2.0 | 0.2.0 | Fixed |
| ewen-lbh github.com/ewen-lbh/ffcss | = < 0.2.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ewen-lbh github.com/ewen-lbh/ffcss(Go) | < 0.2.0 | 0.2.0 |
| ewen-lbh github.com/ewen-lbh/ffcss | = < 0.2.0 | No fix listed |
| ewen-lbh firefox css | < 0.2.0 | 0.2.0 |
References
- https://github.com/ewen-lbh/ffcss/security/advisories/GHSA-wpmx-564x-h2mh exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/ewen-lbh/ffcss/commit/f9c491874b858a32fcae15045f169fd7d02f90dc patch
- github.com product
- github.com