gsd-2022-42890
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-42890",
    "description": "A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.",
    "id": "GSD-2022-42890",
    "references": [
      "https://www.debian.org/security/2022/dsa-5264",
      "https://www.suse.com/security/cve/CVE-2022-42890.html",
      "https://alas.aws.amazon.com/cve/html/CVE-2022-42890.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-42890"
      ],
      "details": "A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.",
      "id": "GSD-2022-42890",
      "modified": "2023-12-13T01:19:10.987402Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@apache.org",
        "ID": "CVE-2022-42890",
        "STATE": "PUBLIC",
        "TITLE": "Apache Batik prior to 1.16 allows RCE via scripting"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Apache XML Graphics",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c=",
                          "version_name": "Batik",
                          "version_value": "1.15"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Apache Software Foundation"
            }
          ]
        }
      },
      "credit": [
        {
          "lang": "eng",
          "value": "This issue was independently reported by Y4tacker and 4ra1n of Chaitin Tech"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16."
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": [
        {}
      ],
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "Remote code execution via batik scripting"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly",
            "refsource": "MISC",
            "url": "https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly"
          },
          {
            "name": "[oss-security] 20221025 [CVE-2022-42890] Apache Batik information disclosure vulnerability",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2022/10/25/3"
          },
          {
            "name": "[debian-lts-announce] 20221029 [SECURITY] [DLA 3169-1] batik security update",
            "refsource": "MLIST",
            "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html"
          },
          {
            "name": "DSA-5264",
            "refsource": "DEBIAN",
            "url": "https://www.debian.org/security/2022/dsa-5264"
          },
          {
            "name": "GLSA-202401-11",
            "refsource": "GENTOO",
            "url": "https://security.gentoo.org/glsa/202401-11"
          }
        ]
      },
      "source": {
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "[1.0,1.16)",
          "affected_versions": "All versions starting from 1.0 before 1.16",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-918",
            "CWE-937"
          ],
          "date": "2022-12-08",
          "description": "A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.",
          "fixed_versions": [
            "1.16"
          ],
          "identifier": "CVE-2022-42890",
          "identifiers": [
            "CVE-2022-42890"
          ],
          "not_impacted": "",
          "package_slug": "maven/org.apache.xmlgraphics/batik-dom",
          "pubdate": "2022-10-25",
          "solution": "Upgrade to version 1.16 or above.",
          "title": "Server-Side Request Forgery (SSRF)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-42890",
            "https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly",
            "http://www.openwall.com/lists/oss-security/2022/10/25/3",
            "https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html",
            "https://www.debian.org/security/2022/dsa-5264"
          ],
          "uuid": "a35abebb-6767-43a7-9c4d-8429add365fb"
        },
        {
          "affected_range": "[1.0,1.16)",
          "affected_versions": "All versions starting from 1.0 before 1.16",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-918",
            "CWE-937"
          ],
          "date": "2022-12-08",
          "description": "A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.",
          "fixed_versions": [
            "1.16"
          ],
          "identifier": "CVE-2022-42890",
          "identifiers": [
            "CVE-2022-42890"
          ],
          "not_impacted": "",
          "package_slug": "maven/org.apache.xmlgraphics/batik-rasterizer",
          "pubdate": "2022-10-25",
          "solution": "Upgrade to version 1.16 or above.",
          "title": "Server-Side Request Forgery (SSRF)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-42890",
            "https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly",
            "http://www.openwall.com/lists/oss-security/2022/10/25/3",
            "https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html",
            "https://www.debian.org/security/2022/dsa-5264"
          ],
          "uuid": "561fd05f-ccab-4233-a045-f095e3d0713d"
        },
        {
          "affected_range": "(,1.16)",
          "affected_versions": "All versions before 1.16",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-06-14",
          "description": "A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.",
          "fixed_versions": [
            "1.16"
          ],
          "identifier": "CVE-2022-42890",
          "identifiers": [
            "GHSA-rwqr-m72q-v6cm",
            "CVE-2022-42890"
          ],
          "not_impacted": "All versions starting from 1.16",
          "package_slug": "maven/org.apache.xmlgraphics/batik-script",
          "pubdate": "2022-10-25",
          "solution": "Upgrade to version 1.16 or above.",
          "title": "Untrusted code execution in Apache XML Graphics Batik",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-42890",
            "https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly",
            "https://github.com/apache/xmlgraphics-batik/commit/401aa8595f52d085d40ff5b6b4ac0dd372423082",
            "https://github.com/apache/xmlgraphics-batik/commit/52f7a1ad6e3110ec295a35ffc94410eef085707a",
            "https://github.com/apache/xmlgraphics-batik/commit/eada57c716a2757579d53017f8b2aeadaad20edd",
            "https://issues.apache.org/jira/browse/BATIK-1345",
            "https://xmlgraphics.apache.org/security.html",
            "http://www.openwall.com/lists/oss-security/2022/10/25/3",
            "https://github.com/advisories/GHSA-rwqr-m72q-v6cm"
          ],
          "uuid": "55dc4ba5-99a7-4ab3-8003-ca5cf9250c89"
        },
        {
          "affected_range": "[1.0,1.16)",
          "affected_versions": "All versions starting from 1.0 before 1.16",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-918",
            "CWE-937"
          ],
          "date": "2022-12-08",
          "description": "A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16.",
          "fixed_versions": [
            "1.16"
          ],
          "identifier": "CVE-2022-42890",
          "identifiers": [
            "CVE-2022-42890"
          ],
          "not_impacted": "",
          "package_slug": "maven/org.apache.xmlgraphics/batik-svgbrowser",
          "pubdate": "2022-10-25",
          "solution": "Upgrade to version 1.16 or above.",
          "title": "Server-Side Request Forgery (SSRF)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-42890",
            "https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly",
            "http://www.openwall.com/lists/oss-security/2022/10/25/3",
            "https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html",
            "https://www.debian.org/security/2022/dsa-5264"
          ],
          "uuid": "9d44666a-9ad9-4c20-9d6a-1770b75ac3e6"
        },
        {
          "affected_range": "(,0)",
          "affected_versions": "All versions before 1.16",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-06-14",
          "description": "This advisory has been moved to `batik-script`.",
          "fixed_versions": [
            "1.16"
          ],
          "identifier": "CVE-2022-42890",
          "identifiers": [
            "GHSA-rwqr-m72q-v6cm",
            "CVE-2022-42890"
          ],
          "not_impacted": "All versions starting from 1.16",
          "package_slug": "maven/org.apache.xmlgraphics/batik",
          "pubdate": "2022-10-25",
          "solution": "Upgrade to version 1.16 or above.",
          "title": "Untrusted code execution in Apache XML Graphics Batik",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-42890",
            "https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly",
            "https://github.com/apache/xmlgraphics-batik/commit/401aa8595f52d085d40ff5b6b4ac0dd372423082",
            "https://github.com/apache/xmlgraphics-batik/commit/52f7a1ad6e3110ec295a35ffc94410eef085707a",
            "https://github.com/apache/xmlgraphics-batik/commit/eada57c716a2757579d53017f8b2aeadaad20edd",
            "https://issues.apache.org/jira/browse/BATIK-1345",
            "https://xmlgraphics.apache.org/security.html",
            "http://www.openwall.com/lists/oss-security/2022/10/25/3",
            "https://github.com/advisories/GHSA-rwqr-m72q-v6cm"
          ],
          "uuid": "e053c077-fdd3-4551-8fda-4d8559d720c8"
        }
      ]
    },
    "nvd.nist.gov": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:apache:batik:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7B523AA6-B97C-45DD-9BFD-BDFC34C1AD1C",
                    "versionEndExcluding": "1.16",
                    "versionStartIncluding": "1.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "07B237A9-69A3-4A9C-9DA0-4E06BD37AE73",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FA6FEEC2-9F11-4643-8827-749718254FED",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "descriptions": [
          {
            "lang": "en",
            "value": "A vulnerability in Batik of Apache XML Graphics allows an attacker to run Java code from untrusted SVG via JavaScript. This issue affects Apache XML Graphics prior to 1.16. Users are recommended to upgrade to version 1.16."
          },
          {
            "lang": "es",
            "value": "Una vulnerabilidad en Batik de Apache XML Graphics permite a un atacante ejecutar c\u00f3digo Java desde un SVG no confiable por medio de JavaScript. Este problema afecta a Apache XML Graphics versiones anteriores a 1.16. Es recomendado a usuarios actualizar a versi\u00f3n 1.16"
          }
        ],
        "id": "CVE-2022-42890",
        "lastModified": "2024-01-07T11:15:10.500",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2022-10-25T17:15:57.637",
        "references": [
          {
            "source": "security@apache.org",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2022/10/25/3"
          },
          {
            "source": "security@apache.org",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://lists.apache.org/thread/pkvhy0nsj1h1mlon008wtzhosbtxjwly"
          },
          {
            "source": "security@apache.org",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html"
          },
          {
            "source": "security@apache.org",
            "url": "https://security.gentoo.org/glsa/202401-11"
          },
          {
            "source": "security@apache.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://www.debian.org/security/2022/dsa-5264"
          }
        ],
        "sourceIdentifier": "security@apache.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-918"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • 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.