Find, fix and prevent vulnerabilities in your code.
high severity
new
- Vulnerable module: undici
- Introduced through: @loopback/rest@15.0.11
Detailed paths
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/rest@15.0.11 › @openapi-contrib/openapi-schema-to-json-schema@5.1.0 › openapi-typescript@5.4.2 › undici@5.29.0
Overview
undici is an An HTTP/1.1 client, written from scratch for Node.js
Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) in the PerMessageDeflate.decompress() method of the permessage-deflate extension. An attacker can cause excessive memory usage by sending specially crafted compressed WebSocket frames that decompress to a very large size, potentially leading to process crashes or unresponsiveness.
Remediation
Upgrade undici to version 6.24.0, 7.24.0 or higher.
References
high severity
new
- Vulnerable module: undici
- Introduced through: @loopback/rest@15.0.11
Detailed paths
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/rest@15.0.11 › @openapi-contrib/openapi-schema-to-json-schema@5.1.0 › openapi-typescript@5.4.2 › undici@5.29.0
Overview
undici is an An HTTP/1.1 client, written from scratch for Node.js
Affected versions of this package are vulnerable to Uncaught Exception through improper validation of the server_max_window_bits parameter in the permessage-deflate extension. An attacker can cause the process to terminate unexpectedly by sending a maliciously crafted value outside the valid range, which triggers an unhandled exception when the client attempts to create a zlib InflateRaw instance.
Remediation
Upgrade undici to version 6.24.0, 7.24.0 or higher.
References
medium severity
new
- Vulnerable module: undici
- Introduced through: @loopback/rest@15.0.11
Detailed paths
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/rest@15.0.11 › @openapi-contrib/openapi-schema-to-json-schema@5.1.0 › openapi-typescript@5.4.2 › undici@5.29.0
Overview
undici is an An HTTP/1.1 client, written from scratch for Node.js
Affected versions of this package are vulnerable to HTTP Request Smuggling in the processHeader() while handling HTTP/1.1 requests containing duplicate Content-Length headers with differing casing. An attacker can bypass access controls, poison caches, hijack credentials, or cause service disruption by sending specially crafted HTTP requests that are interpreted inconsistently by proxies and backend servers.
Remediation
Upgrade undici to version 6.24.0, 7.24.0 or higher.
References
medium severity
- Vulnerable module: inflight
- Introduced through: @loopback/repository@8.0.10, @loopback/service-proxy@8.0.10 and others
Detailed paths
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/repository@8.0.10 › loopback-datasource-juggler@6.0.4 › strong-globalize@6.0.6 › yamljs@0.3.0 › glob@7.2.3 › inflight@1.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/service-proxy@8.0.10 › loopback-datasource-juggler@6.0.4 › strong-globalize@6.0.6 › yamljs@0.3.0 › glob@7.2.3 › inflight@1.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/rest@15.0.11 › strong-error-handler@5.0.29 › strong-globalize@6.0.6 › yamljs@0.3.0 › glob@7.2.3 › inflight@1.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/repository@8.0.10 › loopback-datasource-juggler@6.0.4 › loopback-connector@7.0.4 › strong-globalize@6.0.6 › yamljs@0.3.0 › glob@7.2.3 › inflight@1.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/service-proxy@8.0.10 › loopback-datasource-juggler@6.0.4 › loopback-connector@7.0.4 › strong-globalize@6.0.6 › yamljs@0.3.0 › glob@7.2.3 › inflight@1.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/boot@8.0.11 › @loopback/repository@8.0.10 › loopback-datasource-juggler@6.0.4 › strong-globalize@6.0.6 › yamljs@0.3.0 › glob@7.2.3 › inflight@1.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/boot@8.0.11 › @loopback/service-proxy@8.0.10 › loopback-datasource-juggler@6.0.4 › strong-globalize@6.0.6 › yamljs@0.3.0 › glob@7.2.3 › inflight@1.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/boot@8.0.11 › @loopback/repository@8.0.10 › loopback-datasource-juggler@6.0.4 › loopback-connector@7.0.4 › strong-globalize@6.0.6 › yamljs@0.3.0 › glob@7.2.3 › inflight@1.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/boot@8.0.11 › @loopback/service-proxy@8.0.10 › loopback-datasource-juggler@6.0.4 › loopback-connector@7.0.4 › strong-globalize@6.0.6 › yamljs@0.3.0 › glob@7.2.3 › inflight@1.0.6
Overview
Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime via the makeres function due to improperly deleting keys from the reqs object after execution of callbacks. This behavior causes the keys to remain in the reqs object, which leads to resource exhaustion.
Exploiting this vulnerability results in crashing the node process or in the application crash.
Note: This library is not maintained, and currently, there is no fix for this issue. To overcome this vulnerability, several dependent packages have eliminated the use of this library.
To trigger the memory leak, an attacker would need to have the ability to execute or influence the asynchronous operations that use the inflight module within the application. This typically requires access to the internal workings of the server or application, which is not commonly exposed to remote users. Therefore, “Attack vector” is marked as “Local”.
PoC
const inflight = require('inflight');
function testInflight() {
let i = 0;
function scheduleNext() {
let key = `key-${i++}`;
const callback = () => {
};
for (let j = 0; j < 1000000; j++) {
inflight(key, callback);
}
setImmediate(scheduleNext);
}
if (i % 100 === 0) {
console.log(process.memoryUsage());
}
scheduleNext();
}
testInflight();
Remediation
There is no fixed version for inflight.
References
medium severity
- Vulnerable module: undici
- Introduced through: @loopback/rest@15.0.11
Detailed paths
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/rest@15.0.11 › @openapi-contrib/openapi-schema-to-json-schema@5.1.0 › openapi-typescript@5.4.2 › undici@5.29.0
Overview
undici is an An HTTP/1.1 client, written from scratch for Node.js
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the decompression chain. An attacker can cause high CPU usage and excessive memory allocation by sending HTTP responses with a large number of chained compression steps in the Content-Encoding header.
Remediation
Upgrade undici to version 6.23.0, 7.18.2 or higher.
References
medium severity
new
- Vulnerable module: undici
- Introduced through: @loopback/rest@15.0.11
Detailed paths
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/rest@15.0.11 › @openapi-contrib/openapi-schema-to-json-schema@5.1.0 › openapi-typescript@5.4.2 › undici@5.29.0
Overview
undici is an An HTTP/1.1 client, written from scratch for Node.js
Affected versions of this package are vulnerable to CRLF Injection via the upgrade option of the client.request() function. An attacker can inject malicious data into HTTP headers or prematurely terminate HTTP requests by sending specially crafted input, potentially leading to unauthorized information disclosure or bypassing of security controls.
Remediation
Upgrade undici to version 6.24.0, 7.24.0 or higher.
References
medium severity
- Module: strong-globalize
- Introduced through: @loopback/repository@8.0.10, @loopback/service-proxy@8.0.10 and others
Detailed paths
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/repository@8.0.10 › loopback-datasource-juggler@6.0.4 › strong-globalize@6.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/service-proxy@8.0.10 › loopback-datasource-juggler@6.0.4 › strong-globalize@6.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/rest@15.0.11 › strong-error-handler@5.0.29 › strong-globalize@6.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/repository@8.0.10 › loopback-datasource-juggler@6.0.4 › loopback-connector@7.0.4 › strong-globalize@6.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/service-proxy@8.0.10 › loopback-datasource-juggler@6.0.4 › loopback-connector@7.0.4 › strong-globalize@6.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/boot@8.0.11 › @loopback/repository@8.0.10 › loopback-datasource-juggler@6.0.4 › strong-globalize@6.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/boot@8.0.11 › @loopback/service-proxy@8.0.10 › loopback-datasource-juggler@6.0.4 › strong-globalize@6.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/boot@8.0.11 › @loopback/repository@8.0.10 › loopback-datasource-juggler@6.0.4 › loopback-connector@7.0.4 › strong-globalize@6.0.6
-
Introduced through: pan-ontologies@ExPaNDS-eu/pan-ontologies-api#e3e6777db703d5ed4fcfdc2c976f0a8bc5e4c27f › @loopback/boot@8.0.11 › @loopback/service-proxy@8.0.10 › loopback-datasource-juggler@6.0.4 › loopback-connector@7.0.4 › strong-globalize@6.0.6
Artistic-2.0 license