107 lines
2.6 KiB
JSON
107 lines
2.6 KiB
JSON
{
|
|
"schema_version": "1.7.0",
|
|
"id": "UBUNTU-CVE-2021-3377",
|
|
"details": "The npm package ansi_up converts ANSI escape codes into HTML. In ansi_up v4, ANSI escape codes can be used to create HTML hyperlinks. Due to insufficient URL sanitization, this feature is affected by a cross-site scripting (XSS) vulnerability. This issue is fixed in v5.0.0.",
|
|
"aliases": [],
|
|
"upstream": [
|
|
"CVE-2021-3377"
|
|
],
|
|
"related": [],
|
|
"severity": [
|
|
{
|
|
"type": "CVSS_V3",
|
|
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
|
|
},
|
|
{
|
|
"type": "Ubuntu",
|
|
"score": "medium"
|
|
}
|
|
],
|
|
"published": "2021-03-05T21:15:00Z",
|
|
"modified": "2025-10-24T04:49:10Z",
|
|
"affected": [
|
|
{
|
|
"package": {
|
|
"ecosystem": "Ubuntu:20.04:LTS",
|
|
"name": "node-ansi-up",
|
|
"purl": "pkg:deb/ubuntu/node-ansi-up@4.0.3+dfsg-2?arch=source&distro=focal"
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "ECOSYSTEM",
|
|
"events": [
|
|
{
|
|
"introduced": "0"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"versions": [
|
|
"4.0.3+dfsg-2"
|
|
],
|
|
"ecosystem_specific": {
|
|
"binaries": [
|
|
{
|
|
"binary_name": "libjs-ansi-up",
|
|
"binary_version": "4.0.3+dfsg-2"
|
|
},
|
|
{
|
|
"binary_name": "node-ansi-up",
|
|
"binary_version": "4.0.3+dfsg-2"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"package": {
|
|
"ecosystem": "Ubuntu:22.04:LTS",
|
|
"name": "node-ansi-up",
|
|
"purl": "pkg:deb/ubuntu/node-ansi-up@5.1.0+dfsg-1?arch=source&distro=jammy"
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "ECOSYSTEM",
|
|
"events": [
|
|
{
|
|
"introduced": "0"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"versions": [
|
|
"5.0.0+dfsg-1",
|
|
"5.1.0+dfsg-1"
|
|
],
|
|
"ecosystem_specific": {
|
|
"binaries": [
|
|
{
|
|
"binary_name": "libjs-ansi-up",
|
|
"binary_version": "5.1.0+dfsg-1"
|
|
},
|
|
{
|
|
"binary_name": "node-ansi-up",
|
|
"binary_version": "5.1.0+dfsg-1"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"type": "REPORT",
|
|
"url": "https://ubuntu.com/security/CVE-2021-3377"
|
|
},
|
|
{
|
|
"type": "REPORT",
|
|
"url": "https://doyensec.com/resources/Doyensec_Advisory_ansi_up4_XSS.pdf"
|
|
},
|
|
{
|
|
"type": "REPORT",
|
|
"url": "https://github.com/drudru/ansi_up/commit/c8c726ed1db979bae4f257b7fa41775155ba2e27"
|
|
},
|
|
{
|
|
"type": "REPORT",
|
|
"url": "https://www.cve.org/CVERecord?id=CVE-2021-3377"
|
|
}
|
|
]
|
|
} |