CVE-2022-28481 json
CSV-Safe improperly filters special characters potentially leading to CSV injection
published 4y ago modified 4mo ago also GHSA-f55g-x8qq-2569 , EUVD-2022-3691
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
CSV-Safe gem < 3.0.0 doesn't filter out special characters which could trigger CSV Injection.
Patch / fix
- rubygems csv-safe 3.0.0
- csv-safe_project csv-safe 3.0.0
- github.com/WeblateOrg/weblate@d9e136f commit
- github.com/zvory/csv-safe#8 pull request
Is CVE-2022-28481 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.76% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/zvory/csv-safe/pull/8 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/zvory/csv-safe/issues/7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | csv-safe | <3.0.0 |
3.0.0 |
Classification
- Weakness
-
- CWE-1236 Improper Neutralization of Formula Elements in a CSV File
References
-
github.com
/zvory/csv-safe/pull/8
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/WeblateOrg/weblate/commit/d9e136ff228e3760fd6dd7572869ac38e9a81809
web
-
github.com
/zvory/csv-safe/issues/7
web, exploit, issue-tracking, third-party-advisory
-
github.com
/zvory/csv-safe
package, product, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-28481
advisory
-
hackerone.com
/reports/223999
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/csv-safe/CVE-2022-28481.yml
web
Sources
- CVE List CVE-2022-28481
- GitHub Advisory GHSA-f55g-x8qq-2569
- NVD CVE-2022-28481
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.