gsd-2022-41704
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
A vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-41704",
    "id": "GSD-2022-41704",
    "references": [
      "https://www.debian.org/security/2022/dsa-5264",
      "https://www.suse.com/security/cve/CVE-2022-41704.html",
      "https://alas.aws.amazon.com/cve/html/CVE-2022-41704.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-41704"
      ],
      "details": "A vulnerability in Batik of Apache XML Graphics allows an attacker to run untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.",
      "id": "GSD-2022-41704",
      "modified": "2023-12-13T01:19:32.972244Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@apache.org",
        "ID": "CVE-2022-41704",
        "STATE": "PUBLIC",
        "TITLE": "Apache Batik prior to 1.16 allows RCE when loading untrusted SVG input"
      },
      "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 4ra1n of Chaitin Tech and pwnull"
        }
      ],
      "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 untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16."
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": [
        {}
      ],
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "A jar file can be loaded from svg script element"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf",
            "refsource": "MISC",
            "url": "https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf"
          },
          {
            "name": "[oss-security] 20221025 [CVE-2022-41704] Apache Batik information disclosure vulnerability",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2022/10/25/2"
          },
          {
            "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.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 untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.",
          "fixed_versions": [
            "1.16"
          ],
          "identifier": "CVE-2022-41704",
          "identifiers": [
            "GHSA-r29w-r9ph-vm76",
            "CVE-2022-41704"
          ],
          "not_impacted": "All versions starting from 1.16",
          "package_slug": "maven/org.apache.xmlgraphics/batik-bridge",
          "pubdate": "2022-10-25",
          "solution": "Upgrade to version 1.16 or above.",
          "title": "Apache XML Graphics Batik vulnerable to code execution via SVG.",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-41704",
            "https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf",
            "https://github.com/apache/xmlgraphics-batik/commit/905f368b50c2567cf2c4869a0ab596a7b1b5125c",
            "https://issues.apache.org/jira/browse/BATIK-1338",
            "https://xmlgraphics.apache.org/security.html",
            "https://github.com/advisories/GHSA-r29w-r9ph-vm76"
          ],
          "uuid": "58f41cf3-581a-4297-9321-2bd1da92220a"
        },
        {
          "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 untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.",
          "fixed_versions": [
            "1.16"
          ],
          "identifier": "CVE-2022-41704",
          "identifiers": [
            "CVE-2022-41704"
          ],
          "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-41704",
            "https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf",
            "http://www.openwall.com/lists/oss-security/2022/10/25/2",
            "https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html",
            "https://www.debian.org/security/2022/dsa-5264"
          ],
          "uuid": "253bbba2-c3e8-4034-b0d3-0472538298ac"
        },
        {
          "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 untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.",
          "fixed_versions": [
            "1.16"
          ],
          "identifier": "CVE-2022-41704",
          "identifiers": [
            "CVE-2022-41704"
          ],
          "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-41704",
            "https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf",
            "http://www.openwall.com/lists/oss-security/2022/10/25/2",
            "https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html",
            "https://www.debian.org/security/2022/dsa-5264"
          ],
          "uuid": "46e332b2-67d7-4804-babc-7b6392d25d43"
        },
        {
          "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 untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16.",
          "fixed_versions": [
            "1.16"
          ],
          "identifier": "CVE-2022-41704",
          "identifiers": [
            "CVE-2022-41704"
          ],
          "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-41704",
            "https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf",
            "http://www.openwall.com/lists/oss-security/2022/10/25/2",
            "https://lists.debian.org/debian-lts-announce/2022/10/msg00038.html",
            "https://www.debian.org/security/2022/dsa-5264"
          ],
          "uuid": "aee6d554-a980-49ed-bfcf-48ab5331d5ce"
        },
        {
          "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-bridge`.",
          "fixed_versions": [
            "1.16"
          ],
          "identifier": "CVE-2022-41704",
          "identifiers": [
            "GHSA-r29w-r9ph-vm76",
            "CVE-2022-41704"
          ],
          "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": "Apache XML Graphics Batik vulnerable to code execution via SVG.",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-41704",
            "https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf",
            "https://github.com/apache/xmlgraphics-batik/commit/905f368b50c2567cf2c4869a0ab596a7b1b5125c",
            "https://issues.apache.org/jira/browse/BATIK-1338",
            "https://xmlgraphics.apache.org/security.html",
            "https://github.com/advisories/GHSA-r29w-r9ph-vm76"
          ],
          "uuid": "abe646a2-f88b-4d1a-ab39-a615f246022b"
        }
      ]
    },
    "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 untrusted Java code from an SVG. This issue affects Apache XML Graphics prior to 1.16. It is recommended to update to version 1.16."
          },
          {
            "lang": "es",
            "value": "Una vulnerabilidad en Batik de Apache XML Graphics permite a un atacante ejecutar c\u00f3digo Java no confiable desde un SVG. Este problema afecta a Apache XML Graphics versiones anteriores a 1.16. Es recomendado actualizar a versi\u00f3n 1.16"
          }
        ],
        "id": "CVE-2022-41704",
        "lastModified": "2024-01-07T11:15:10.407",
        "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.527",
        "references": [
          {
            "source": "security@apache.org",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2022/10/25/2"
          },
          {
            "source": "security@apache.org",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://lists.apache.org/thread/hplhx0o74jb7blj39fm4kw3otcnjd6xf"
          },
          {
            "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...

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.