gsd-2021-20293
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
A reflected Cross-Site Scripting (XSS) flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final, where it did not properly handle URL encoding when calling @javax.ws.rs.PathParam without any @Produces MediaType. This flaw allows an attacker to launch a reflected XSS attack. The highest threat from this vulnerability is to data confidentiality and integrity.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2021-20293",
      description: "A reflected Cross-Site Scripting (XSS) flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final, where it did not properly handle URL encoding when calling @javax.ws.rs.PathParam without any @Produces MediaType. This flaw allows an attacker to launch a reflected XSS attack. The highest threat from this vulnerability is to data confidentiality and integrity.",
      id: "GSD-2021-20293",
      references: [
         "https://access.redhat.com/errata/RHSA-2021:4100",
         "https://access.redhat.com/errata/RHSA-2022:1029",
      ],
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2021-20293",
         ],
         details: "A reflected Cross-Site Scripting (XSS) flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final, where it did not properly handle URL encoding when calling @javax.ws.rs.PathParam without any @Produces MediaType. This flaw allows an attacker to launch a reflected XSS attack. The highest threat from this vulnerability is to data confidentiality and integrity.",
         id: "GSD-2021-20293",
         modified: "2023-12-13T01:23:12.720402Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "secalert@redhat.com",
            ID: "CVE-2021-20293",
            STATE: "PUBLIC",
         },
         affects: {
            vendor: {
               vendor_data: [
                  {
                     product: {
                        product_data: [
                           {
                              product_name: "RESTEasy",
                              version: {
                                 version_data: [
                                    {
                                       version_affected: "=",
                                       version_value: "All versions of RESTEasy up to 4.6.0.Final",
                                    },
                                 ],
                              },
                           },
                        ],
                     },
                     vendor_name: "n/a",
                  },
               ],
            },
         },
         data_format: "MITRE",
         data_type: "CVE",
         data_version: "4.0",
         description: {
            description_data: [
               {
                  lang: "eng",
                  value: "A reflected Cross-Site Scripting (XSS) flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final, where it did not properly handle URL encoding when calling @javax.ws.rs.PathParam without any @Produces MediaType. This flaw allows an attacker to launch a reflected XSS attack. The highest threat from this vulnerability is to data confidentiality and integrity.",
               },
            ],
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        cweId: "CWE-79",
                        lang: "eng",
                        value: "CWE-79",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "https://bugzilla.redhat.com/show_bug.cgi?id=1942819",
                  refsource: "MISC",
                  url: "https://bugzilla.redhat.com/show_bug.cgi?id=1942819",
               },
               {
                  name: "https://security.netapp.com/advisory/ntap-20210727-0005/",
                  refsource: "MISC",
                  url: "https://security.netapp.com/advisory/ntap-20210727-0005/",
               },
            ],
         },
      },
      "gitlab.com": {
         advisories: [
            {
               affected_range: "(,4.6.0.Final]",
               affected_versions: "All versions up to 4.6.0.final",
               cvss_v2: "AV:N/AC:M/Au:N/C:N/I:P/A:N",
               cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-707",
                  "CWE-79",
                  "CWE-937",
               ],
               date: "2021-08-31",
               description: "A reflected Cross-Site Scripting (XSS) flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final, where it did not properly handle URL encoding when calling @javax.ws.rs.PathParam without any @Produces MediaType. This flaw allows an attacker to launch a reflected XSS attack. The highest threat from this vulnerability is to data confidentiality and integrity.",
               fixed_versions: [],
               identifier: "CVE-2021-20293",
               identifiers: [
                  "GHSA-5h26-c766-g93v",
                  "CVE-2021-20293",
               ],
               not_impacted: "",
               package_slug: "maven/org.jboss.resteasy/resteasy-bom",
               pubdate: "2021-06-15",
               solution: "Unfortunately, there is no solution available yet.",
               title: "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
               urls: [
                  "https://nvd.nist.gov/vuln/detail/CVE-2021-20293",
                  "https://github.com/advisories/GHSA-5h26-c766-g93v",
               ],
               uuid: "a0fc161a-213b-4fb0-a380-68c771753047",
            },
            {
               affected_range: "(,4.6.0]",
               affected_versions: "All versions up to 4.6.0",
               cvss_v2: "AV:N/AC:M/Au:N/C:N/I:P/A:N",
               cvss_v3: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-79",
                  "CWE-937",
               ],
               date: "2021-09-20",
               description: "A reflected Cross-Site Scripting (XSS) flaw was found in RESTEasy. It does not properly handle URL encoding when calling `@javax.ws.rs.PathParam` without any `@Produces` MediaType. This flaw allows an attacker to launch a reflected XSS attack. The highest threat from this vulnerability is to data confidentiality and integrity.",
               fixed_versions: [
                  "4.6.1",
               ],
               identifier: "CVE-2021-20293",
               identifiers: [
                  "CVE-2021-20293",
               ],
               not_impacted: "All versions after 4.6.0",
               package_slug: "maven/org.jboss.resteasy/resteasy-core",
               pubdate: "2021-06-10",
               solution: "Upgrade to version 4.6.1 or above.",
               title: "Cross-site Scripting",
               urls: [
                  "https://nvd.nist.gov/vuln/detail/CVE-2021-20293",
                  "https://bugzilla.redhat.com/show_bug.cgi?id=1942819",
               ],
               uuid: "b4955b7d-fa7a-4b54-8b43-92e46b76b31f",
            },
         ],
      },
      "nvd.nist.gov": {
         configurations: {
            CVE_data_version: "4.0",
            nodes: [
               {
                  children: [],
                  cpe_match: [
                     {
                        cpe23Uri: "cpe:2.3:a:redhat:resteasy:*:*:*:*:*:*:*:*",
                        cpe_name: [],
                        versionEndIncluding: "4.6.0",
                        vulnerable: true,
                     },
                  ],
                  operator: "OR",
               },
               {
                  children: [],
                  cpe_match: [
                     {
                        cpe23Uri: "cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*",
                        cpe_name: [],
                        vulnerable: true,
                     },
                  ],
                  operator: "OR",
               },
            ],
         },
         cve: {
            CVE_data_meta: {
               ASSIGNER: "secalert@redhat.com",
               ID: "CVE-2021-20293",
            },
            data_format: "MITRE",
            data_type: "CVE",
            data_version: "4.0",
            description: {
               description_data: [
                  {
                     lang: "en",
                     value: "A reflected Cross-Site Scripting (XSS) flaw was found in RESTEasy in all versions of RESTEasy up to 4.6.0.Final, where it did not properly handle URL encoding when calling @javax.ws.rs.PathParam without any @Produces MediaType. This flaw allows an attacker to launch a reflected XSS attack. The highest threat from this vulnerability is to data confidentiality and integrity.",
                  },
               ],
            },
            problemtype: {
               problemtype_data: [
                  {
                     description: [
                        {
                           lang: "en",
                           value: "CWE-79",
                        },
                     ],
                  },
               ],
            },
            references: {
               reference_data: [
                  {
                     name: "https://bugzilla.redhat.com/show_bug.cgi?id=1942819",
                     refsource: "MISC",
                     tags: [
                        "Issue Tracking",
                        "Vendor Advisory",
                     ],
                     url: "https://bugzilla.redhat.com/show_bug.cgi?id=1942819",
                  },
                  {
                     name: "https://security.netapp.com/advisory/ntap-20210727-0005/",
                     refsource: "CONFIRM",
                     tags: [
                        "Third Party Advisory",
                     ],
                     url: "https://security.netapp.com/advisory/ntap-20210727-0005/",
                  },
               ],
            },
         },
         impact: {
            baseMetricV2: {
               acInsufInfo: false,
               cvssV2: {
                  accessComplexity: "MEDIUM",
                  accessVector: "NETWORK",
                  authentication: "NONE",
                  availabilityImpact: "NONE",
                  baseScore: 4.3,
                  confidentialityImpact: "NONE",
                  integrityImpact: "PARTIAL",
                  vectorString: "AV:N/AC:M/Au:N/C:N/I:P/A:N",
                  version: "2.0",
               },
               exploitabilityScore: 8.6,
               impactScore: 2.9,
               obtainAllPrivilege: false,
               obtainOtherPrivilege: false,
               obtainUserPrivilege: false,
               severity: "MEDIUM",
               userInteractionRequired: true,
            },
            baseMetricV3: {
               cvssV3: {
                  attackComplexity: "LOW",
                  attackVector: "NETWORK",
                  availabilityImpact: "NONE",
                  baseScore: 6.1,
                  baseSeverity: "MEDIUM",
                  confidentialityImpact: "LOW",
                  integrityImpact: "LOW",
                  privilegesRequired: "NONE",
                  scope: "CHANGED",
                  userInteraction: "REQUIRED",
                  vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                  version: "3.1",
               },
               exploitabilityScore: 2.8,
               impactScore: 2.7,
            },
         },
         lastModifiedDate: "2021-09-20T13:49Z",
         publishedDate: "2021-06-10T12: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.