GHSA-4J66-8F4R-3PJX
Vulnerability from github – Published: 2025-07-23 06:33 – Updated: 2025-07-23 16:38
VLAI?
Summary
bun vulnerable to OS Command Injection
Details
All versions of the package bun are vulnerable to Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in the $ shell API due to improper neutralization of user input. An attacker can exploit this by providing specially crafted input that includes command-line arguments or shell metacharacters, leading to unintended command execution.
Severity ?
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "bun"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "1.1.39"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2025-8022"
],
"database_specific": {
"cwe_ids": [
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2025-07-23T16:38:39Z",
"nvd_published_at": "2025-07-23T05:15:30Z",
"severity": "HIGH"
},
"details": "All versions of the package bun are vulnerable to Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027) in the $ shell API due to improper neutralization of user input. An attacker can exploit this by providing specially crafted input that includes command-line arguments or shell metacharacters, leading to unintended command execution.",
"id": "GHSA-4j66-8f4r-3pjx",
"modified": "2025-07-23T16:38:39Z",
"published": "2025-07-23T06:33:50Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-8022"
},
{
"type": "WEB",
"url": "https://gist.github.com/lirantal/9780d664037f29d5277d7b2bc569d213"
},
{
"type": "PACKAGE",
"url": "https://github.com/oven-sh/bun"
},
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-JS-BUN-9510752"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P",
"type": "CVSS_V4"
}
],
"summary": "bun vulnerable to OS Command Injection"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
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…
Loading…