CSV-Safe gem < 3.0.0 doesn't filter out special characters which could trigger CSV Injection.
Published 2022-05-01 15:15:08
Updated 2022-05-09 18:32:15
Source MITRE
View at NVD,   CVE.org

Exploit prediction scoring system (EPSS) score for CVE-2022-28481

0.25%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 63 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2022-28481

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
7.5
HIGH AV:N/AC:L/Au:N/C:P/I:P/A:P
10.0
6.4
NIST
9.8
CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.9
5.9
NIST

CWE ids for CVE-2022-28481

  • The product saves user-provided information into a Comma-Separated Value (CSV) file, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as a command when the file is opened by a spreadsheet product.
    Assigned by: nvd@nist.gov (Primary)

References for CVE-2022-28481

  • https://github.com/zvory/csv-safe
    GitHub - zvory/csv-safe: Decorate the ruby CSV library to sanitize output CSV against CSV injection attacks.
    Product;Third Party Advisory
  • https://github.com/zvory/csv-safe/issues/7
    Older versions of CSV-Safe gem doesn't filter out special characters which could trigger CSV Injection. (< 3.0.0) · Issue #7 · zvory/csv-safe · GitHub
    Exploit;Issue Tracking;Third Party Advisory
  • https://github.com/zvory/csv-safe/pull/8
    Prefix starting with '%' by gabrielrios · Pull Request #8 · zvory/csv-safe · GitHub
    Exploit;Issue Tracking;Patch;Third Party Advisory

Products affected by CVE-2022-28481

This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!