GHSA-gv87-q66h-4277

Suggest an improvement
Source
https://github.com/advisories/GHSA-gv87-q66h-4277
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-gv87-q66h-4277/GHSA-gv87-q66h-4277.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gv87-q66h-4277
Aliases
Published
2021-12-16T00:02:15Z
Modified
2023-11-08T04:07:08.802574Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Command injection in itext7-core
Details

iTextPDF in iText before 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.

Database specific
{
    "nvd_published_at": "2021-12-15T07:15:00Z",
    "github_reviewed_at": "2022-01-25T21:02:25Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-77"
    ]
}
References

Affected packages

Maven / com.itextpdf:itext7-core

Package

Name
com.itextpdf:itext7-core
View open source insights on deps.dev
Purl
pkg:maven/com.itextpdf/itext7-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.1.17

Affected versions

7.*

7.0.2
7.0.3
7.0.4
7.0.5
7.0.6
7.0.7
7.0.8
7.1.0
7.1.1
7.1.2
7.1.3
7.1.4
7.1.5
7.1.6
7.1.7
7.1.8
7.1.9
7.1.10
7.1.11
7.1.12
7.1.13
7.1.14
7.1.15
7.1.16

Maven / com.itextpdf:itextpdf

Package

Name
com.itextpdf:itextpdf
View open source insights on deps.dev
Purl
pkg:maven/com.itextpdf/itextpdf

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.5.13.3

Affected versions

5.*

5.0.6
5.1.0
5.1.1
5.1.2
5.1.3
5.2.0
5.2.1
5.3.0
5.3.1
5.3.2
5.3.4
5.4.0
5.4.1
5.4.2
5.4.3
5.4.4
5.4.5
5.5.0
5.5.1
5.5.2
5.5.3
5.5.4
5.5.5
5.5.6
5.5.7
5.5.8
5.5.9
5.5.10
5.5.11
5.5.12
5.5.13
5.5.13.1
5.5.13.2