CVE-2026-43972 (GCVE-0-2026-43972)

Vulnerability from cvelistv5 – Published: 2026-06-08 14:12 – Updated: 2026-06-08 16:34
VLAI
Title
gun HTTP/2 PUSH_PROMISE authority not validated against connection origin allows cross-origin cookie injection
Summary
Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority. In gun_http2:push_promise_frame/7, the :authority pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection's origin. When gun_http2:headers_frame/9 later processes the response headers for the promised stream, it calls gun_cookies:set_cookie_header/7 with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 §10.6 / RFC 9113 §8.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for. A malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client's shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required. This issue affects gun: from 2.0.0 before 2.4.0.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator (v2.0.3)
CWE
  • CWE-346 - Origin Validation Error
Assigner
EEF
Impacted products
Vendor Product Version
ninenines gun Affected: 2.0.0 , < 2.4.0 (semver)
    cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
Create a notification for this product.
ninenines gun Affected: 871989eef53663285c165fdfb83a5918ebe00d41 , < 567863ff53802fed21c3b3f25812db7f7ae29676 (git)
    cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*
Create a notification for this product.
Credits
Peter Ullrich Loïc Hoguin
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-43972",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-08T15:42:59.352280Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-06-08T15:43:06.577Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "gun_http2"
          ],
          "packageName": "gun",
          "packageURL": "pkg:hex/gun",
          "product": "gun",
          "programFiles": [
            "src/gun_http2.erl"
          ],
          "programRoutines": [
            {
              "name": "gun_http2:push_promise_frame/7"
            },
            {
              "name": "gun_http2:headers_frame/9"
            }
          ],
          "repo": "https://github.com/ninenines/gun",
          "vendor": "ninenines",
          "versions": [
            {
              "lessThan": "2.4.0",
              "status": "affected",
              "version": "2.0.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "gun_http2"
          ],
          "packageName": "ninenines/gun",
          "packageURL": "pkg:github/ninenines/gun",
          "product": "gun",
          "programFiles": [
            "src/gun_http2.erl"
          ],
          "programRoutines": [
            {
              "name": "gun_http2:push_promise_frame/7"
            },
            {
              "name": "gun_http2:headers_frame/9"
            }
          ],
          "repo": "https://github.com/ninenines/gun.git",
          "vendor": "ninenines",
          "versions": [
            {
              "lessThan": "567863ff53802fed21c3b3f25812db7f7ae29676",
              "status": "affected",
              "version": "871989eef53663285c165fdfb83a5918ebe00d41",
              "versionType": "git"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe vulnerability is exploitable only when gun is configured with a \u003ctt\u003ecookie_store\u003c/tt\u003e and connects to an HTTP/2 server with server push enabled.\u003c/p\u003e"
            }
          ],
          "value": "The vulnerability is exploitable only when gun is configured with a cookie_store and connects to an HTTP/2 server with server push enabled."
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.4.0",
                  "versionStartIncluding": "2.0.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Lo\u00efc Hoguin"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Origin Validation Error vulnerability in ninenines gun (\u003ctt\u003egun_http2\u003c/tt\u003e module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\u003cp\u003eIn \u003ctt\u003egun_http2:push_promise_frame/7\u003c/tt\u003e, the \u003ctt\u003e:authority\u003c/tt\u003e pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection\u0027s origin. When \u003ctt\u003egun_http2:headers_frame/9\u003c/tt\u003e later processes the response headers for the promised stream, it calls \u003ctt\u003egun_cookies:set_cookie_header/7\u003c/tt\u003e with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 \u00a710.6 / RFC 9113 \u00a78.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for.\u003c/p\u003e\u003cp\u003eA malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client\u0027s shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required.\u003c/p\u003e\u003cp\u003eThis issue affects gun: from 2.0.0 before 2.4.0.\u003c/p\u003e"
            }
          ],
          "value": "Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\n\nIn gun_http2:push_promise_frame/7, the :authority pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection\u0027s origin. When gun_http2:headers_frame/9 later processes the response headers for the promised stream, it calls gun_cookies:set_cookie_header/7 with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 \u00a710.6 / RFC 9113 \u00a78.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for.\n\nA malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client\u0027s shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required.\n\nThis issue affects gun: from 2.0.0 before 2.4.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-61",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-61 Session Fixation"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "NETWORK",
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "NONE",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "LOW",
            "subIntegrityImpact": "LOW",
            "userInteraction": "NONE",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "LOW"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-346",
              "description": "CWE-346 Origin Validation Error",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-08T16:34:45.350Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "related",
            "third-party-advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-43972.html"
        },
        {
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43972"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/ninenines/gun/commit/567863ff53802fed21c3b3f25812db7f7ae29676"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "gun HTTP/2 PUSH_PROMISE authority not validated against connection origin allows cross-origin cookie injection",
      "x_generator": {
        "engine": "cvelib 1.8.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-43972",
    "datePublished": "2026-06-08T14:12:38.780Z",
    "dateReserved": "2026-05-04T18:23:25.574Z",
    "dateUpdated": "2026-06-08T16:34:45.350Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-43972",
      "date": "2026-08-05",
      "epss": "0.00215",
      "percentile": "0.11951"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-43972\",\"sourceIdentifier\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"published\":\"2026-06-08T15:16:46.290\",\"lastModified\":\"2026-07-23T07:10:00.113\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\\n\\nIn gun_http2:push_promise_frame/7, the :authority pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection\u0027s origin. When gun_http2:headers_frame/9 later processes the response headers for the promised stream, it calls gun_cookies:set_cookie_header/7 with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 \u00a710.6 / RFC 9113 \u00a78.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for.\\n\\nA malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client\u0027s shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required.\\n\\nThis issue affects gun: from 2.0.0 before 2.4.0.\"},{\"lang\":\"es\",\"value\":\"Vulnerabilidad de error de validaci\u00f3n de origen en ninenines gun (m\u00f3dulo gun_http2) permite la inyecci\u00f3n de cookies de origen cruzado a trav\u00e9s de la autoridad PUSH_PROMISE de HTTP/2 no validada.\\n\\nEn gun_http2:push_promise_frame/7, el pseudo-encabezado :authority de un frame PUSH_PROMISE entrante se almacena textualmente en el registro del stream prometido sin verificar que coincida con el origen de la conexi\u00f3n. Cuando gun_http2:headers_frame/9 procesa posteriormente los encabezados de respuesta para el stream prometido, llama a gun_cookies:set_cookie_header/7 con la autoridad proporcionada por el servidor no validada antes de cualquier ramificaci\u00f3n de estado y antes de que el c\u00f3digo de usuario pueda actuar. Esto viola RFC 7540 \u00a710.6 / RFC 9113 \u00a78.4, que requieren que los receptores traten como un error de protocolo cualquier push para un recurso para el que el servidor no es autoritativo.\\n\\nUn servidor HTTP/2 malicioso o comprometido puede insertar cookies con alcance a dominios de terceros arbitrarios en el almac\u00e9n de cookies compartido del cliente. Esto permite ataques de fijaci\u00f3n de sesi\u00f3n contra esos dominios y, si la cookie insertada anula un token de sesi\u00f3n leg\u00edtimo, puede resultar en la toma de control de la cuenta. No se requiere interacci\u00f3n del usuario m\u00e1s all\u00e1 de realizar una solicitud HTTP/2 normal al servidor controlado por el atacante.\\n\\nEste problema afecta a gun: desde 2.0.0 antes de 2.4.0.\"}],\"affected\":[{\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"affectedData\":[{\"vendor\":\"ninenines\",\"product\":\"gun\",\"defaultStatus\":\"unaffected\",\"packageName\":\"gun\",\"cpes\":[\"cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*\"],\"modules\":[\"gun_http2\"],\"programFiles\":[\"src/gun_http2.erl\"],\"programRoutines\":[{\"name\":\"gun_http2:push_promise_frame/7\"},{\"name\":\"gun_http2:headers_frame/9\"}],\"repo\":\"https://github.com/ninenines/gun\",\"packageURL\":\"pkg:hex/gun\",\"versions\":[{\"version\":\"2.0.0\",\"lessThan\":\"2.4.0\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"ninenines\",\"product\":\"gun\",\"defaultStatus\":\"unaffected\",\"collectionURL\":\"https://github.com\",\"packageName\":\"ninenines/gun\",\"cpes\":[\"cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*\"],\"modules\":[\"gun_http2\"],\"programFiles\":[\"src/gun_http2.erl\"],\"programRoutines\":[{\"name\":\"gun_http2:push_promise_frame/7\"},{\"name\":\"gun_http2:headers_frame/9\"}],\"repo\":\"https://github.com/ninenines/gun.git\",\"packageURL\":\"pkg:github/ninenines/gun\",\"versions\":[{\"version\":\"871989eef53663285c165fdfb83a5918ebe00d41\",\"lessThan\":\"567863ff53802fed21c3b3f25812db7f7ae29676\",\"versionType\":\"git\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"vectorString\":\"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X\",\"baseScore\":6.3,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"PRESENT\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"vulnConfidentialityImpact\":\"NONE\",\"vulnIntegrityImpact\":\"LOW\",\"vulnAvailabilityImpact\":\"NONE\",\"subConfidentialityImpact\":\"LOW\",\"subIntegrityImpact\":\"LOW\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NOT_DEFINED\",\"Automatable\":\"NOT_DEFINED\",\"Recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-06-08T15:42:59.352280Z\",\"id\":\"CVE-2026-43972\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-346\"}]}],\"references\":[{\"url\":\"https://cna.erlef.org/cves/CVE-2026-43972.html\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\"},{\"url\":\"https://github.com/ninenines/gun/commit/567863ff53802fed21c3b3f25812db7f7ae29676\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\"},{\"url\":\"https://osv.dev/vulnerability/EEF-CVE-2026-43972\",\"source\":\"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\"}]}}",
    "redhat_vex": {
      "current_release_date": "2026-06-28T11:25:33+00:00",
      "cve": "CVE-2026-43972",
      "id": "CVE-2026-43972",
      "initial_release_date": "2026-06-08T14:12:38.780000+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "gun: Gun: Cross-origin cookie injection leading to session fixation and account takeover.",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43972.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-43972\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-06-08T15:42:59.352280Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-06-08T15:43:02.790Z\"}}], \"cna\": {\"title\": \"gun HTTP/2 PUSH_PROMISE authority not validated against connection origin allows cross-origin cookie injection\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Peter Ullrich\"}, {\"lang\": \"en\", \"type\": \"remediation developer\", \"value\": \"Lo\\u00efc Hoguin\"}], \"impacts\": [{\"capecId\": \"CAPEC-61\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-61 Session Fixation\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"version\": \"4.0\", \"baseScore\": 6.3, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"PRESENT\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"LOW\", \"vulnIntegrityImpact\": \"LOW\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"NONE\", \"subConfidentialityImpact\": \"LOW\", \"vulnConfidentialityImpact\": \"NONE\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*\"], \"repo\": \"https://github.com/ninenines/gun\", \"vendor\": \"ninenines\", \"modules\": [\"gun_http2\"], \"product\": \"gun\", \"versions\": [{\"status\": \"affected\", \"version\": \"2.0.0\", \"lessThan\": \"2.4.0\", \"versionType\": \"semver\"}], \"packageURL\": \"pkg:hex/gun\", \"packageName\": \"gun\", \"programFiles\": [\"src/gun_http2.erl\"], \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"gun_http2:push_promise_frame/7\"}, {\"name\": \"gun_http2:headers_frame/9\"}]}, {\"cpes\": [\"cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*\"], \"repo\": \"https://github.com/ninenines/gun.git\", \"vendor\": \"ninenines\", \"modules\": [\"gun_http2\"], \"product\": \"gun\", \"versions\": [{\"status\": \"affected\", \"version\": \"871989eef53663285c165fdfb83a5918ebe00d41\", \"lessThan\": \"567863ff53802fed21c3b3f25812db7f7ae29676\", \"versionType\": \"git\"}], \"packageURL\": \"pkg:github/ninenines/gun\", \"packageName\": \"ninenines/gun\", \"programFiles\": [\"src/gun_http2.erl\"], \"collectionURL\": \"https://github.com\", \"defaultStatus\": \"unaffected\", \"programRoutines\": [{\"name\": \"gun_http2:push_promise_frame/7\"}, {\"name\": \"gun_http2:headers_frame/9\"}]}], \"references\": [{\"url\": \"https://cna.erlef.org/cves/CVE-2026-43972.html\", \"tags\": [\"related\", \"third-party-advisory\"]}, {\"url\": \"https://osv.dev/vulnerability/EEF-CVE-2026-43972\", \"tags\": [\"related\"]}, {\"url\": \"https://github.com/ninenines/gun/commit/567863ff53802fed21c3b3f25812db7f7ae29676\", \"tags\": [\"patch\"]}], \"x_generator\": {\"engine\": \"cvelib 1.8.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\\n\\nIn gun_http2:push_promise_frame/7, the :authority pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection\u0027s origin. When gun_http2:headers_frame/9 later processes the response headers for the promised stream, it calls gun_cookies:set_cookie_header/7 with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 \\u00a710.6 / RFC 9113 \\u00a78.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for.\\n\\nA malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client\u0027s shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required.\\n\\nThis issue affects gun: from 2.0.0 before 2.4.0.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"Origin Validation Error vulnerability in ninenines gun (\u003ctt\u003egun_http2\u003c/tt\u003e module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority.\u003cp\u003eIn \u003ctt\u003egun_http2:push_promise_frame/7\u003c/tt\u003e, the \u003ctt\u003e:authority\u003c/tt\u003e pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection\u0027s origin. When \u003ctt\u003egun_http2:headers_frame/9\u003c/tt\u003e later processes the response headers for the promised stream, it calls \u003ctt\u003egun_cookies:set_cookie_header/7\u003c/tt\u003e with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 \\u00a710.6 / RFC 9113 \\u00a78.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for.\u003c/p\u003e\u003cp\u003eA malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client\u0027s shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required.\u003c/p\u003e\u003cp\u003eThis issue affects gun: from 2.0.0 before 2.4.0.\u003c/p\u003e\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-346\", \"description\": \"CWE-346 Origin Validation Error\"}]}], \"configurations\": [{\"lang\": \"en\", \"value\": \"The vulnerability is exploitable only when gun is configured with a cookie_store and connects to an HTTP/2 server with server push enabled.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003eThe vulnerability is exploitable only when gun is configured with a \u003ctt\u003ecookie_store\u003c/tt\u003e and connects to an HTTP/2 server with server push enabled.\u003c/p\u003e\", \"base64\": false}]}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:a:ninenines:gun:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"2.4.0\", \"versionStartIncluding\": \"2.0.0\"}], \"operator\": \"OR\"}], \"operator\": \"AND\"}], \"providerMetadata\": {\"orgId\": \"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\", \"shortName\": \"EEF\", \"dateUpdated\": \"2026-06-08T16:34:45.350Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-43972\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-06-08T16:34:45.350Z\", \"dateReserved\": \"2026-05-04T18:23:25.574Z\", \"assignerOrgId\": \"6b3ad84c-e1a6-4bf7-a703-f496b71e49db\", \"datePublished\": \"2026-06-08T14:12:38.780Z\", \"assignerShortName\": \"EEF\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…