Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/ewen-lbh/ffcss: CVE-2023-52081 #2426

Closed
GoVulnBot opened this issue Dec 28, 2023 · 4 comments
Closed
Assignees
Labels
excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module.

Comments

@GoVulnBot
Copy link

CVE-2023-52081 references github.com/ewen-lbh/ffcss, which may be a Go module.

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.

References:

Cross references:
No existing reports found with this module or alias.

See doc/triage.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/ewen-lbh/ffcss
      vulnerable_at: 0.2.0
      packages:
        - package: ffcss
cves:
    - CVE-2023-52081
references:
    - advisory: https://github.com/ewen-lbh/ffcss/security/advisories/GHSA-wpmx-564x-h2mh
    - fix: https://github.com/ewen-lbh/ffcss/commit/f9c491874b858a32fcae15045f169fd7d02f90dc

@zpavlinovic zpavlinovic self-assigned this Dec 28, 2023
@zpavlinovic zpavlinovic added the excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module. label Dec 28, 2023
@zpavlinovic
Copy link
Contributor

Vulnerability in CLI tool, no importers.

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/552596 mentions this issue: data/excluded: add GO-2023-2426.yaml

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/592764 mentions this issue: data/reports: unexclude 31 reports

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/606793 mentions this issue: data/reports: unexclude 15 reports (12)

gopherbot pushed a commit that referenced this issue Aug 21, 2024
  - data/reports/GO-2023-2340.yaml
  - data/reports/GO-2023-2341.yaml
  - data/reports/GO-2023-2344.yaml
  - data/reports/GO-2023-2351.yaml
  - data/reports/GO-2023-2355.yaml
  - data/reports/GO-2023-2376.yaml
  - data/reports/GO-2023-2377.yaml
  - data/reports/GO-2023-2378.yaml
  - data/reports/GO-2023-2381.yaml
  - data/reports/GO-2023-2388.yaml
  - data/reports/GO-2023-2397.yaml
  - data/reports/GO-2023-2398.yaml
  - data/reports/GO-2023-2414.yaml
  - data/reports/GO-2023-2422.yaml
  - data/reports/GO-2023-2426.yaml

Updates #2340
Updates #2341
Updates #2344
Updates #2351
Updates #2355
Updates #2376
Updates #2377
Updates #2378
Updates #2381
Updates #2388
Updates #2397
Updates #2398
Updates #2414
Updates #2422
Updates #2426

Change-Id: I279f769375f27873ced76b136c88665f610ac68c
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/606793
Auto-Submit: Tatiana Bradley <tatianabradley@google.com>
Commit-Queue: Tatiana Bradley <tatianabradley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module.
Projects
None yet
Development

No branches or pull requests

3 participants