zvory/csv-safe · Security
CSV-Safe improperly filters special characters potentially leading to CSV injection
- GHSA ID
- GHSA-f55g-x8qq-2569
- CVE ID
- CVE-2022-28481
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
CSV-Safe gem < 3.0.0 doesn't filter out special characters which could trigger CSV Injection.
CWEs
- CWE-1236 · Improper Neutralization of Formula Elements in a CSV File
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-28481 ↗
- https://github.com/zvory/csv-safe/issues/7 ↗
- https://github.com/zvory/csv-safe/pull/8 ↗
- https://github.com/WeblateOrg/weblate/commit/d9e136ff228e3760fd6dd7572869ac38e9a81809 ↗
- https://hackerone.com/reports/223999 ↗
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/csv-safe/CVE-2022-28481.yml ↗
- https://github.com/advisories/GHSA-f55g-x8qq-2569 ↗