gsd-2023-23934
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
Werkzeug is a comprehensive WSGI web application library. Browsers may allow "nameless" cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werkzeug application is running next to a vulnerable or malicious subdomain which sets such a cookie using a vulnerable browser, the Werkzeug application will see the bad cookie value but the valid cookie key. The issue is fixed in Werkzeug 2.2.3.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2023-23934",
      id: "GSD-2023-23934",
      references: [
         "https://access.redhat.com/errata/RHSA-2023:1018",
         "https://www.suse.com/security/cve/CVE-2023-23934.html",
         "https://ubuntu.com/security/CVE-2023-23934",
      ],
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2023-23934",
         ],
         details: "Werkzeug is a comprehensive WSGI web application library. Browsers may allow \"nameless\" cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werkzeug application is running next to a vulnerable or malicious subdomain which sets such a cookie using a vulnerable browser, the Werkzeug application will see the bad cookie value but the valid cookie key. The issue is fixed in Werkzeug 2.2.3.",
         id: "GSD-2023-23934",
         modified: "2023-12-13T01:20:50.283016Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "security-advisories@github.com",
            ID: "CVE-2023-23934",
            STATE: "PUBLIC",
         },
         affects: {
            vendor: {
               vendor_data: [
                  {
                     product: {
                        product_data: [
                           {
                              product_name: "werkzeug",
                              version: {
                                 version_data: [
                                    {
                                       version_affected: "=",
                                       version_value: "< 2.2.3",
                                    },
                                 ],
                              },
                           },
                        ],
                     },
                     vendor_name: "pallets",
                  },
               ],
            },
         },
         data_format: "MITRE",
         data_type: "CVE",
         data_version: "4.0",
         description: {
            description_data: [
               {
                  lang: "eng",
                  value: "Werkzeug is a comprehensive WSGI web application library. Browsers may allow \"nameless\" cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werkzeug application is running next to a vulnerable or malicious subdomain which sets such a cookie using a vulnerable browser, the Werkzeug application will see the bad cookie value but the valid cookie key. The issue is fixed in Werkzeug 2.2.3.",
               },
            ],
         },
         impact: {
            cvss: [
               {
                  attackComplexity: "HIGH",
                  attackVector: "ADJACENT_NETWORK",
                  availabilityImpact: "NONE",
                  baseScore: 2.6,
                  baseSeverity: "LOW",
                  confidentialityImpact: "NONE",
                  integrityImpact: "LOW",
                  privilegesRequired: "NONE",
                  scope: "UNCHANGED",
                  userInteraction: "REQUIRED",
                  vectorString: "CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N",
                  version: "3.1",
               },
            ],
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        cweId: "CWE-20",
                        lang: "eng",
                        value: "CWE-20: Improper Input Validation",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "https://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q",
                  refsource: "MISC",
                  url: "https://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q",
               },
               {
                  name: "https://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028",
                  refsource: "MISC",
                  url: "https://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028",
               },
               {
                  name: "https://github.com/pallets/werkzeug/releases/tag/2.2.3",
                  refsource: "MISC",
                  url: "https://github.com/pallets/werkzeug/releases/tag/2.2.3",
               },
               {
                  name: "https://www.debian.org/security/2023/dsa-5470",
                  refsource: "MISC",
                  url: "https://www.debian.org/security/2023/dsa-5470",
               },
               {
                  name: "https://security.netapp.com/advisory/ntap-20230818-0003/",
                  refsource: "MISC",
                  url: "https://security.netapp.com/advisory/ntap-20230818-0003/",
               },
            ],
         },
         source: {
            advisory: "GHSA-px8h-6qxv-m22q",
            discovery: "UNKNOWN",
         },
      },
      "gitlab.com": {
         advisories: [
            {
               affected_range: "<2.2.3",
               affected_versions: "All versions before 2.2.3",
               cvss_v3: "CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
               cwe_ids: [
                  "CWE-1035",
                  "CWE-20",
                  "CWE-937",
               ],
               date: "2023-08-18",
               description: "Werkzeug is a comprehensive WSGI web application library. Browsers may allow \"nameless\" cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werkzeug application is running next to a vulnerable or malicious subdomain which sets such a cookie using a vulnerable browser, the Werkzeug application will see the bad cookie value but the valid cookie key. The issue is fixed in Werkzeug 2.2.3.",
               fixed_versions: [
                  "2.2.3",
               ],
               identifier: "CVE-2023-23934",
               identifiers: [
                  "CVE-2023-23934",
                  "GHSA-px8h-6qxv-m22q",
               ],
               not_impacted: "All versions starting from 2.2.3",
               package_slug: "pypi/Werkzeug",
               pubdate: "2023-02-14",
               solution: "Upgrade to version 2.2.3 or above.",
               title: "Incorrect parsing of nameless cookies leads to __Host- cookies bypass",
               urls: [
                  "https://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q",
                  "https://nvd.nist.gov/vuln/detail/CVE-2023-23934",
                  "https://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028",
                  "https://github.com/pallets/werkzeug/releases/tag/2.2.3",
                  "https://github.com/advisories/GHSA-px8h-6qxv-m22q",
               ],
               uuid: "bf7afccb-1205-4b3f-b647-08dbebccbfe2",
            },
         ],
      },
      "nvd.nist.gov": {
         configurations: {
            CVE_data_version: "4.0",
            nodes: [
               {
                  children: [],
                  cpe_match: [
                     {
                        cpe23Uri: "cpe:2.3:a:palletsprojects:werkzeug:*:*:*:*:*:*:*:*",
                        cpe_name: [],
                        versionEndExcluding: "2.2.3",
                        vulnerable: true,
                     },
                  ],
                  operator: "OR",
               },
            ],
         },
         cve: {
            CVE_data_meta: {
               ASSIGNER: "security-advisories@github.com",
               ID: "CVE-2023-23934",
            },
            data_format: "MITRE",
            data_type: "CVE",
            data_version: "4.0",
            description: {
               description_data: [
                  {
                     lang: "en",
                     value: "Werkzeug is a comprehensive WSGI web application library. Browsers may allow \"nameless\" cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werkzeug application is running next to a vulnerable or malicious subdomain which sets such a cookie using a vulnerable browser, the Werkzeug application will see the bad cookie value but the valid cookie key. The issue is fixed in Werkzeug 2.2.3.",
                  },
               ],
            },
            problemtype: {
               problemtype_data: [
                  {
                     description: [
                        {
                           lang: "en",
                           value: "CWE-20",
                        },
                     ],
                  },
               ],
            },
            references: {
               reference_data: [
                  {
                     name: "https://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q",
                     refsource: "MISC",
                     tags: [
                        "Vendor Advisory",
                     ],
                     url: "https://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q",
                  },
                  {
                     name: "https://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028",
                     refsource: "MISC",
                     tags: [
                        "Patch",
                     ],
                     url: "https://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028",
                  },
                  {
                     name: "https://github.com/pallets/werkzeug/releases/tag/2.2.3",
                     refsource: "MISC",
                     tags: [
                        "Release Notes",
                     ],
                     url: "https://github.com/pallets/werkzeug/releases/tag/2.2.3",
                  },
                  {
                     name: "https://www.debian.org/security/2023/dsa-5470",
                     refsource: "MISC",
                     tags: [],
                     url: "https://www.debian.org/security/2023/dsa-5470",
                  },
                  {
                     name: "https://security.netapp.com/advisory/ntap-20230818-0003/",
                     refsource: "MISC",
                     tags: [],
                     url: "https://security.netapp.com/advisory/ntap-20230818-0003/",
                  },
               ],
            },
         },
         impact: {
            baseMetricV3: {
               cvssV3: {
                  attackComplexity: "LOW",
                  attackVector: "ADJACENT_NETWORK",
                  availabilityImpact: "NONE",
                  baseScore: 3.5,
                  baseSeverity: "LOW",
                  confidentialityImpact: "NONE",
                  integrityImpact: "LOW",
                  privilegesRequired: "NONE",
                  scope: "UNCHANGED",
                  userInteraction: "REQUIRED",
                  vectorString: "CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
                  version: "3.1",
               },
               exploitabilityScore: 2.1,
               impactScore: 1.4,
            },
         },
         lastModifiedDate: "2023-08-18T14:15Z",
         publishedDate: "2023-02-14T20: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.