gsd-2021-43113
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
iTextPDF in iText 7 and up to (excluding 4.4.13.3) 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2021-43113",
      description: "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.",
      id: "GSD-2021-43113",
      references: [
         "https://www.suse.com/security/cve/CVE-2021-43113.html",
         "https://www.debian.org/security/2023/dsa-5323",
      ],
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2021-43113",
         ],
         details: "iTextPDF in iText 7 and up to (excluding 4.4.13.3) 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.",
         id: "GSD-2021-43113",
         modified: "2023-12-13T01:23:26.730206Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "cve@mitre.org",
            ID: "CVE-2021-43113",
            STATE: "PUBLIC",
         },
         affects: {
            vendor: {
               vendor_data: [
                  {
                     product: {
                        product_data: [
                           {
                              product_name: "n/a",
                              version: {
                                 version_data: [
                                    {
                                       version_value: "n/a",
                                    },
                                 ],
                              },
                           },
                        ],
                     },
                     vendor_name: "n/a",
                  },
               ],
            },
         },
         data_format: "MITRE",
         data_type: "CVE",
         data_version: "4.0",
         description: {
            description_data: [
               {
                  lang: "eng",
                  value: "iTextPDF in iText 7 and up to (excluding 4.4.13.3) 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.",
               },
            ],
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        lang: "eng",
                        value: "n/a",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "https://github.com/itext/itext7/releases/tag/7.1.17",
                  refsource: "CONFIRM",
                  url: "https://github.com/itext/itext7/releases/tag/7.1.17",
               },
               {
                  name: "https://pastebin.com/BXnkY9YY",
                  refsource: "MISC",
                  url: "https://pastebin.com/BXnkY9YY",
               },
               {
                  name: "[debian-lts-announce] 20230118 [SECURITY] [DLA 3273-1] libitext5-java security update",
                  refsource: "MLIST",
                  url: "https://lists.debian.org/debian-lts-announce/2023/01/msg00013.html",
               },
               {
                  name: "DSA-5323",
                  refsource: "DEBIAN",
                  url: "https://www.debian.org/security/2023/dsa-5323",
               },
               {
                  name: "https://github.com/itext/itextpdf/releases/tag/5.5.13.3",
                  refsource: "MISC",
                  url: "https://github.com/itext/itextpdf/releases/tag/5.5.13.3",
               },
            ],
         },
      },
      "gitlab.com": {
         advisories: [
            {
               affected_range: "(,7.1.17)",
               affected_versions: "All versions before 7.1.17",
               cvss_v2: "AV:N/AC:L/Au:N/C:P/I:P/A:P",
               cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-77",
                  "CWE-937",
               ],
               date: "2022-02-10",
               description: "iTextPDF in iText 7 and up to allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.",
               fixed_versions: [
                  "7.1.17",
               ],
               identifier: "CVE-2021-43113",
               identifiers: [
                  "GHSA-gv87-q66h-4277",
                  "CVE-2021-43113",
               ],
               not_impacted: "All versions starting from 7.1.17",
               package_slug: "maven/com.itextpdf/itext7-core",
               pubdate: "2021-12-16",
               solution: "Upgrade to version 7.1.17 or above.",
               title: "Improper Neutralization of Special Elements used in a Command ('Command Injection')",
               urls: [
                  "https://nvd.nist.gov/vuln/detail/CVE-2021-43113",
                  "https://github.com/itext/itext7/releases/tag/7.1.17",
                  "https://pastebin.com/BXnkY9YY",
                  "https://github.com/advisories/GHSA-gv87-q66h-4277",
               ],
               uuid: "16d34db7-01e6-4a2c-8a3f-a072557601cc",
            },
            {
               affected_range: "(,5.5.13.3)",
               affected_versions: "All versions before 5.5.13.3",
               cvss_v2: "AV:N/AC:L/Au:N/C:P/I:P/A:P",
               cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-77",
                  "CWE-937",
               ],
               date: "2023-03-27",
               description: "iTextPDF in iText 7 and up to (excluding 4.4.13.3) 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.",
               fixed_versions: [
                  "5.5.13.3",
               ],
               identifier: "CVE-2021-43113",
               identifiers: [
                  "GHSA-gv87-q66h-4277",
                  "CVE-2021-43113",
               ],
               not_impacted: "All versions starting from 5.5.13.3",
               package_slug: "maven/com.itextpdf/itextpdf",
               pubdate: "2021-12-16",
               solution: "Upgrade to version 5.5.13.3 or above.",
               title: "Improper Neutralization of Special Elements used in a Command ('Command Injection')",
               urls: [
                  "https://nvd.nist.gov/vuln/detail/CVE-2021-43113",
                  "https://github.com/itext/itext7/releases/tag/7.1.17",
                  "https://pastebin.com/BXnkY9YY",
                  "https://lists.debian.org/debian-lts-announce/2023/01/msg00013.html",
                  "https://www.debian.org/security/2023/dsa-5323",
                  "https://github.com/itext/itextpdf/releases/tag/5.5.13.3",
                  "https://github.com/advisories/GHSA-gv87-q66h-4277",
               ],
               uuid: "46e95581-05ff-4f2b-b978-7f587ac3cda6",
            },
         ],
      },
      "nvd.nist.gov": {
         configurations: {
            CVE_data_version: "4.0",
            nodes: [
               {
                  children: [],
                  cpe_match: [
                     {
                        cpe23Uri: "cpe:2.3:a:itextpdf:itext:*:*:*:*:*:*:*:*",
                        cpe_name: [],
                        versionEndExcluding: "7.1.17",
                        versionStartIncluding: "7.0.0",
                        vulnerable: true,
                     },
                  ],
                  operator: "OR",
               },
               {
                  children: [],
                  cpe_match: [
                     {
                        cpe23Uri: "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
                        cpe_name: [],
                        vulnerable: true,
                     },
                     {
                        cpe23Uri: "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
                        cpe_name: [],
                        vulnerable: true,
                     },
                  ],
                  operator: "OR",
               },
            ],
         },
         cve: {
            CVE_data_meta: {
               ASSIGNER: "cve@mitre.org",
               ID: "CVE-2021-43113",
            },
            data_format: "MITRE",
            data_type: "CVE",
            data_version: "4.0",
            description: {
               description_data: [
                  {
                     lang: "en",
                     value: "iTextPDF in iText 7 and up to (excluding 4.4.13.3) 7.1.17 allows command injection via a CompareTool filename that is mishandled on the gs (aka Ghostscript) command line in GhostscriptHelper.java.",
                  },
               ],
            },
            problemtype: {
               problemtype_data: [
                  {
                     description: [
                        {
                           lang: "en",
                           value: "CWE-77",
                        },
                     ],
                  },
               ],
            },
            references: {
               reference_data: [
                  {
                     name: "https://pastebin.com/BXnkY9YY",
                     refsource: "MISC",
                     tags: [
                        "Exploit",
                        "Third Party Advisory",
                     ],
                     url: "https://pastebin.com/BXnkY9YY",
                  },
                  {
                     name: "https://github.com/itext/itext7/releases/tag/7.1.17",
                     refsource: "CONFIRM",
                     tags: [
                        "Release Notes",
                        "Third Party Advisory",
                     ],
                     url: "https://github.com/itext/itext7/releases/tag/7.1.17",
                  },
                  {
                     name: "[debian-lts-announce] 20230118 [SECURITY] [DLA 3273-1] libitext5-java security update",
                     refsource: "MLIST",
                     tags: [
                        "Mailing List",
                        "Third Party Advisory",
                     ],
                     url: "https://lists.debian.org/debian-lts-announce/2023/01/msg00013.html",
                  },
                  {
                     name: "DSA-5323",
                     refsource: "DEBIAN",
                     tags: [
                        "Third Party Advisory",
                     ],
                     url: "https://www.debian.org/security/2023/dsa-5323",
                  },
                  {
                     name: "https://github.com/itext/itextpdf/releases/tag/5.5.13.3",
                     refsource: "MISC",
                     tags: [],
                     url: "https://github.com/itext/itextpdf/releases/tag/5.5.13.3",
                  },
               ],
            },
         },
         impact: {
            baseMetricV2: {
               acInsufInfo: false,
               cvssV2: {
                  accessComplexity: "LOW",
                  accessVector: "NETWORK",
                  authentication: "NONE",
                  availabilityImpact: "PARTIAL",
                  baseScore: 7.5,
                  confidentialityImpact: "PARTIAL",
                  integrityImpact: "PARTIAL",
                  vectorString: "AV:N/AC:L/Au:N/C:P/I:P/A:P",
                  version: "2.0",
               },
               exploitabilityScore: 10,
               impactScore: 6.4,
               obtainAllPrivilege: false,
               obtainOtherPrivilege: false,
               obtainUserPrivilege: false,
               severity: "HIGH",
               userInteractionRequired: false,
            },
            baseMetricV3: {
               cvssV3: {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "HIGH",
                  baseScore: 9.8,
                  baseSeverity: "CRITICAL",
                  confidentialityImpact: "HIGH",
                  integrityImpact: "HIGH",
                  privilegesRequired: "NONE",
                  scope: "UNCHANGED",
                  userInteraction: "NONE",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  version: "3.1",
               },
               exploitabilityScore: 3.9,
               impactScore: 5.9,
            },
         },
         lastModifiedDate: "2023-03-24T22:15Z",
         publishedDate: "2021-12-15T07:15Z",
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.