Files
vuln-ubuntu/data/osv/usn/USN-4705-1.json
T

267 lines
7.0 KiB
JSON

{
"schema_version": "1.7.0",
"id": "USN-4705-1",
"summary": "sudo vulnerabilities",
"details": "It was discovered that Sudo incorrectly handled memory when parsing command\nlines. A local attacker could possibly use this issue to obtain unintended\naccess to the administrator account. (CVE-2021-3156)\n\nIt was discovered that the Sudo sudoedit utility incorrectly handled\nchecking directory permissions. A local attacker could possibly use this\nissue to bypass file permissions and determine if a directory exists or\nnot. (CVE-2021-23239)\n",
"aliases": [],
"upstream": [
"UBUNTU-CVE-2021-3156",
"UBUNTU-CVE-2021-23239"
],
"related": [],
"published": "2021-01-26T18:48:16Z",
"modified": "2026-04-27T14:11:26Z",
"affected": [
{
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "sudo",
"purl": "pkg:deb/ubuntu/sudo@1.8.16-0ubuntu1.10?arch=source&distro=xenial"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.16-0ubuntu1.10"
}
]
}
],
"versions": [
"1.8.12-1ubuntu3",
"1.8.16-0ubuntu1",
"1.8.16-0ubuntu1.1",
"1.8.16-0ubuntu1.2",
"1.8.16-0ubuntu1.3",
"1.8.16-0ubuntu1.4",
"1.8.16-0ubuntu1.5",
"1.8.16-0ubuntu1.6",
"1.8.16-0ubuntu1.7",
"1.8.16-0ubuntu1.8",
"1.8.16-0ubuntu1.9"
],
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sudo",
"binary_version": "1.8.16-0ubuntu1.10"
},
{
"binary_name": "sudo-ldap",
"binary_version": "1.8.16-0ubuntu1.10"
}
],
"availability": "No subscription required"
},
"database_specific": {
"cves_map": {
"ecosystem": "Ubuntu:16.04:LTS",
"cves": [
{
"id": "CVE-2021-3156",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "high"
}
]
},
{
"id": "CVE-2021-23239",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "low"
}
]
}
]
}
}
},
{
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "sudo",
"purl": "pkg:deb/ubuntu/sudo@1.8.21p2-3ubuntu1.4?arch=source&distro=bionic"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.21p2-3ubuntu1.4"
}
]
}
],
"versions": [
"1.8.20p2-1ubuntu1",
"1.8.21p2-2ubuntu1",
"1.8.21p2-3ubuntu1",
"1.8.21p2-3ubuntu1.1",
"1.8.21p2-3ubuntu1.2",
"1.8.21p2-3ubuntu1.3"
],
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sudo",
"binary_version": "1.8.21p2-3ubuntu1.4"
},
{
"binary_name": "sudo-ldap",
"binary_version": "1.8.21p2-3ubuntu1.4"
}
],
"availability": "No subscription required"
},
"database_specific": {
"cves_map": {
"ecosystem": "Ubuntu:18.04:LTS",
"cves": [
{
"id": "CVE-2021-3156",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "high"
}
]
},
{
"id": "CVE-2021-23239",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "low"
}
]
}
]
}
}
},
{
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "sudo",
"purl": "pkg:deb/ubuntu/sudo@1.8.31-1ubuntu1.2?arch=source&distro=focal"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.31-1ubuntu1.2"
}
]
}
],
"versions": [
"1.8.27-1ubuntu4",
"1.8.29-1ubuntu1",
"1.8.31-1ubuntu1",
"1.8.31-1ubuntu1.1"
],
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sudo",
"binary_version": "1.8.31-1ubuntu1.2"
},
{
"binary_name": "sudo-ldap",
"binary_version": "1.8.31-1ubuntu1.2"
}
],
"availability": "No subscription required"
},
"database_specific": {
"cves_map": {
"ecosystem": "Ubuntu:20.04:LTS",
"cves": [
{
"id": "CVE-2021-3156",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "high"
}
]
},
{
"id": "CVE-2021-23239",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
},
{
"type": "Ubuntu",
"score": "low"
}
]
}
]
}
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-4705-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-3156"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-23239"
}
]
}