Vulnerabilities |
16 via 22 paths |
|---|---|
Dependencies |
408 |
Source |
GitHub |
Find, fix and prevent vulnerabilities in your code.
critical severity
new
- Vulnerable module: undici
- Introduced through: @digitalbazaar/vc@7.1.2
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › @digitalbazaar/vc@7.1.2 › jsonld@8.3.3 › @digitalbazaar/http-client@3.4.1 › undici@5.29.0Remediation: Upgrade to @digitalbazaar/vc@7.3.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 in the parseSetCookie. An attacker can inject arbitrary HTTP headers by supplying specially crafted percent-encoded values in the Set-Cookie header, which are improperly decoded and then forwarded into response headers. This can enable actions such as session fixation, open redirect, or cache poisoning.
Note: This is only exploitable if the application parses Set-Cookie headers using the affected function and then forwards the parsed value into a response header without proper sanitization.
Workaround
This vulnerability can be mitigated by sanitizing the values returned by the affected cookie parsing functions to strip or reject CR, LF, NUL, ;, and = bytes before forwarding them into response headers.
Remediation
Upgrade undici to version 6.27.0, 7.28.0, 8.5.0 or higher.
References
high severity
new
- Vulnerable module: brace-expansion
- Introduced through: zip-pack-unpack@0.0.3
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › zip-pack-unpack@0.0.3 › archiver@5.3.2 › archiver-utils@2.1.0 › glob@7.2.3 › minimatch@3.1.5 › brace-expansion@1.1.16
-
Introduced through: tg@gotois/ProstoDiary_bot › zip-pack-unpack@0.0.3 › archiver@5.3.2 › zip-stream@4.1.1 › archiver-utils@3.0.4 › glob@7.2.3 › minimatch@3.1.5 › brace-expansion@1.1.16
-
Introduced through: tg@gotois/ProstoDiary_bot › zip-pack-unpack@0.0.3 › archiver@5.3.2 › readdir-glob@1.1.3 › minimatch@5.1.9 › brace-expansion@2.1.2
Overview
brace-expansion is a Brace expansion as known from sh/bash
Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the expand function. An attacker can cause excessive CPU consumption and block the event loop by supplying a specially crafted string containing multiple consecutive non-expanding '{}' brace groups. The max option does not prevent this issue, as it only limits the output size and not the computational workload.
Remediation
Upgrade brace-expansion to version 5.0.7 or higher.
References
high severity
- Vulnerable module: fast-xml-parser
- Introduced through: secretary-ai@github:gotois/secretary-ai
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › secretary-ai@github:gotois/secretary-ai › fast-xml-parser@4.5.7
Overview
fast-xml-parser is a Validate XML, Parse XML, Build XML without C/C++ based libraries
Affected versions of this package are vulnerable to XML Entity Expansion in the replaceEntitiesValue() function, which doesn't protect unlimited expansion of numeric entities the way it does DOCTYPE data (as described and fixed for CVE-2026-26278). An attacker can exhaust system memory and CPU resources by submitting XML input containing a large number of numeric character references - &#NNN; and &#xHH;.
Note: This is a bypass for the fix to the DOCTYPE expansion vulnerability in 5.3.6.
Details
Denial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.
Unlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.
One popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.
When it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.
Two common types of DoS vulnerabilities:
High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, commons-fileupload:commons-fileupload.
Crash - An attacker sending crafted requests that could cause the system to crash. For Example, npm
wspackage
Remediation
Upgrade fast-xml-parser to version 5.5.6 or higher.
References
high severity
- Vulnerable module: music-metadata
- Introduced through: music-metadata@7.14.0 and secretary-ai@github:gotois/secretary-ai
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › music-metadata@7.14.0Remediation: Upgrade to music-metadata@11.12.3.
-
Introduced through: tg@gotois/ProstoDiary_bot › secretary-ai@github:gotois/secretary-ai › music-metadata@7.14.0
Overview
music-metadata is a Music metadata parser for Node.js, supporting virtual any audio and tag format.
Affected versions of this package are vulnerable to Infinite loop through the parseExtensionObject process in the ASF parser when handling a sub-object with objectSize = 0. An attacker can cause the application to hang indefinitely by providing a specially crafted .asf file that triggers an infinite loop during parsing.
Remediation
Upgrade music-metadata to version 11.12.3 or higher.
References
high severity
new
- Vulnerable module: undici
- Introduced through: @digitalbazaar/vc@7.1.2
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › @digitalbazaar/vc@7.1.2 › jsonld@8.3.3 › @digitalbazaar/http-client@3.4.1 › undici@5.29.0Remediation: Upgrade to @digitalbazaar/vc@7.3.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 handling of WebSocket message fragments. An attacker can cause unbounded memory growth and exhaust system resources by streaming a large number of small or empty continuation frames from a malicious WebSocket server.
Remediation
Upgrade undici to version 6.26.0, 7.28.0, 8.5.0 or higher.
References
high severity
- Vulnerable module: undici
- Introduced through: @digitalbazaar/vc@7.1.2
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › @digitalbazaar/vc@7.1.2 › jsonld@8.3.3 › @digitalbazaar/http-client@3.4.1 › undici@5.29.0Remediation: Upgrade to @digitalbazaar/vc@7.3.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
- Vulnerable module: undici
- Introduced through: @digitalbazaar/vc@7.1.2
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › @digitalbazaar/vc@7.1.2 › jsonld@8.3.3 › @digitalbazaar/http-client@3.4.1 › undici@5.29.0Remediation: Upgrade to @digitalbazaar/vc@7.3.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
high severity
new
- Vulnerable module: undici
- Introduced through: @digitalbazaar/vc@7.1.2
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › @digitalbazaar/vc@7.1.2 › jsonld@8.3.3 › @digitalbazaar/http-client@3.4.1 › undici@5.29.0Remediation: Upgrade to @digitalbazaar/vc@7.3.0.
Overview
undici is an An HTTP/1.1 client, written from scratch for Node.js
Affected versions of this package are vulnerable to Permissive List of Allowed Inputs via permissive substring matching in the Set-Cookie attribute parsing. An attacker can weaken cookie SameSite enforcement by crafting a response with a non-standard SameSite value that is interpreted as a more permissive setting, potentially allowing cookies to be sent in cross-site requests.
Note: This is only exploitable if the application consumes Set-Cookie headers from server responses (for example via undici's fetch or proxy code paths) and then forwards or relies on the parsed sameSite attribute.
Workaround
This vulnerability can be mitigated by validating that the parsed sameSite attribute is exactly 'Strict', 'Lax', or 'None' (case-insensitive) before relying on or forwarding it.
Remediation
Upgrade undici to version 6.27.0, 7.28.0, 8.5.0 or higher.
References
high severity
- Vulnerable module: fast-xml-parser
- Introduced through: secretary-ai@github:gotois/secretary-ai
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › secretary-ai@github:gotois/secretary-ai › fast-xml-parser@4.5.7
Overview
fast-xml-parser is a Validate XML, Parse XML, Build XML without C/C++ based libraries
Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input in the DocTypeReader component when the maxEntityCount or maxEntitySize configuration options are explicitly set to 0. Due to JavaScript's falsy evaluation, the intended limits are bypassed. An attacker can cause unbounded entity expansion and exhaust server memory by supplying crafted XML input containing numerous large entities.
Note:
This is only exploitable if the application is configured with processEntities enabled and either maxEntityCount or maxEntitySize set to 0.
PoC
const { XMLParser } = require("fast-xml-parser");
// Developer intends: "no entities allowed at all"
const parser = new XMLParser({
processEntities: {
enabled: true,
maxEntityCount: 0, // should mean "zero entities allowed"
maxEntitySize: 0 // should mean "zero-length entities only"
}
});
// Generate XML with many large entities
let entities = "";
for (let i = 0; i < 1000; i++) {
entities += `<!ENTITY e${i} "${"A".repeat(100000)}">`;
}
const xml = `<?xml version="1.0"?>
<!DOCTYPE foo [
${entities}
]>
<foo>&e0;</foo>`;
// This should throw "Entity count exceeds maximum" but does not
try {
const result = parser.parse(xml);
console.log("VULNERABLE: parsed without error, entities bypassed limits");
} catch (e) {
console.log("SAFE:", e.message);
}
// Control test: setting maxEntityCount to 1 correctly blocks
const safeParser = new XMLParser({
processEntities: {
enabled: true,
maxEntityCount: 1,
maxEntitySize: 100
}
});
try {
safeParser.parse(xml);
console.log("ERROR: should have thrown");
} catch (e) {
console.log("CONTROL:", e.message); // "Entity count (2) exceeds maximum allowed (1)"
}
Remediation
Upgrade fast-xml-parser to version 5.5.7 or higher.
References
high severity
- Module: ffmpeg-static
- Introduced through: ffmpeg-static@5.2.0
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › ffmpeg-static@5.2.0
GPL-3.0 license
medium severity
- Vulnerable module: file-type
- Introduced through: music-metadata@7.14.0 and secretary-ai@github:gotois/secretary-ai
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › music-metadata@7.14.0 › file-type@16.5.4Remediation: Upgrade to music-metadata@11.3.0.
-
Introduced through: tg@gotois/ProstoDiary_bot › secretary-ai@github:gotois/secretary-ai › music-metadata@7.14.0 › file-type@16.5.4
-
Introduced through: tg@gotois/ProstoDiary_bot › secretary-ai@github:gotois/secretary-ai › jimp@0.22.12 › @jimp/custom@0.22.12 › @jimp/core@0.22.12 › file-type@16.5.4
Overview
Affected versions of this package are vulnerable to Infinite loop in the FileTypeParser class. This is triggered when the ASF (WMV/WMA) parser receives input including an ASF sub-header with a size value of 0. An attacker can interrupt service with a 55-byte payload.
Remediation
Upgrade file-type to version 21.3.1 or higher.
References
medium severity
new
- Vulnerable module: form-data
- Introduced through: form-data@4.0.5
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › form-data@4.0.5Remediation: Upgrade to form-data@4.0.6.
Overview
Affected versions of this package are vulnerable to CRLF Injection via the _multiPartHeader function when untrusted input is provided via field or filename to FormData#append. An attacker can inject additional headers or multipart parts by including carriage returns, line feeds, or double quotes in the input. This can allow the modification or addition of form fields visible to downstream parsers.
PoC
const FormData = require('form-data');
const form = new FormData();
form.append('email"\r\nX-Injected: true\r\nfake="', 'user@example.com');
console.log(form.getBuffer().toString());
Remediation
Upgrade form-data to version 2.5.6, 3.0.5, 4.0.6 or higher.
References
medium severity
- Vulnerable module: undici
- Introduced through: @digitalbazaar/vc@7.1.2
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › @digitalbazaar/vc@7.1.2 › jsonld@8.3.3 › @digitalbazaar/http-client@3.4.1 › undici@5.29.0Remediation: Upgrade to @digitalbazaar/vc@7.3.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
new
- Vulnerable module: undici
- Introduced through: @digitalbazaar/vc@7.1.2
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › @digitalbazaar/vc@7.1.2 › jsonld@8.3.3 › @digitalbazaar/http-client@3.4.1 › undici@5.29.0Remediation: Upgrade to @digitalbazaar/vc@7.3.0.
Overview
undici is an An HTTP/1.1 client, written from scratch for Node.js
Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition in the HTTP/1.1 client when an attacker-controlled upstream server injects an unsolicited response onto an idle keep-alive socket after a request completes. An attacker can cause responses to be delivered to the wrong requests by sending crafted HTTP responses through a compromised or malicious upstream server.
Note: This is only exploitable if the upstream HTTP/1.1 server is attacker-controlled or compromised and keep-alive connection reuse is enabled.
Workaround
This vulnerability can be mitigated by disabling keep-alive connection reuse by setting keepAliveTimeout: 0 on the Client or Pool.
Remediation
Upgrade undici to version 6.27.0, 7.28.0, 8.5.0 or higher.
References
medium severity
- Vulnerable module: inflight
- Introduced through: zip-pack-unpack@0.0.3
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › zip-pack-unpack@0.0.3 › archiver@5.3.2 › archiver-utils@2.1.0 › glob@7.2.3 › inflight@1.0.6
-
Introduced through: tg@gotois/ProstoDiary_bot › zip-pack-unpack@0.0.3 › archiver@5.3.2 › zip-stream@4.1.1 › archiver-utils@3.0.4 › 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: @digitalbazaar/vc@7.1.2
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › @digitalbazaar/vc@7.1.2 › jsonld@8.3.3 › @digitalbazaar/http-client@3.4.1 › undici@5.29.0Remediation: Upgrade to @digitalbazaar/vc@7.3.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
- Vulnerable module: undici
- Introduced through: @digitalbazaar/vc@7.1.2
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › @digitalbazaar/vc@7.1.2 › jsonld@8.3.3 › @digitalbazaar/http-client@3.4.1 › undici@5.29.0Remediation: Upgrade to @digitalbazaar/vc@7.3.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: ical.js
- Introduced through: ical.js@2.2.1
Detailed paths
-
Introduced through: tg@gotois/ProstoDiary_bot › ical.js@2.2.1
MPL-2.0 license