ubuntu-cve-2023-4641
Vulnerability from osv_ubuntu
Published
2023-12-27 16:15
Modified
2025-09-08 16:55
Summary
Details
A flaw was found in shadow-utils. When asking for a new password, shadow-utils asks the password twice. If the password fails on the second attempt, shadow-utils fails in cleaning the buffer used to store the first entry. This may allow an attacker with enough access to retrieve the password from the memory.
Severity
4.7 (Medium)
5.5 (Medium)
N/A (UNKNOWN)
References
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "login",
"binary_version": "1:4.1.5.1-1ubuntu9.5+esm4"
},
{
"binary_name": "passwd",
"binary_version": "1:4.1.5.1-1ubuntu9.5+esm4"
},
{
"binary_name": "uidmap",
"binary_version": "1:4.1.5.1-1ubuntu9.5+esm4"
}
],
"priority_reason": "Unlikely attack scenario"
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "shadow",
"purl": "pkg:deb/ubuntu/shadow@1:4.1.5.1-1ubuntu9.5+esm4?arch=source\u0026distro=trusty/esm"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.1.5.1-1ubuntu9.5+esm4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:4.1.5.1-1ubuntu6",
"1:4.1.5.1-1ubuntu7",
"1:4.1.5.1-1ubuntu8",
"1:4.1.5.1-1ubuntu9",
"1:4.1.5.1-1ubuntu9.1",
"1:4.1.5.1-1ubuntu9.2",
"1:4.1.5.1-1ubuntu9.4",
"1:4.1.5.1-1ubuntu9.5",
"1:4.1.5.1-1ubuntu9.5+esm1",
"1:4.1.5.1-1ubuntu9.5+esm2",
"1:4.1.5.1-1ubuntu9.5+esm3"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "login",
"binary_version": "1:4.2-3.1ubuntu5.5+esm4"
},
{
"binary_name": "passwd",
"binary_version": "1:4.2-3.1ubuntu5.5+esm4"
},
{
"binary_name": "uidmap",
"binary_version": "1:4.2-3.1ubuntu5.5+esm4"
}
],
"priority_reason": "Unlikely attack scenario"
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "shadow",
"purl": "pkg:deb/ubuntu/shadow@1:4.2-3.1ubuntu5.5+esm4?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.2-3.1ubuntu5.5+esm4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:4.1.5.1-1.1ubuntu7",
"1:4.2-3.1ubuntu1",
"1:4.2-3.1ubuntu2",
"1:4.2-3.1ubuntu3",
"1:4.2-3.1ubuntu4",
"1:4.2-3.1ubuntu5",
"1:4.2-3.1ubuntu5.2",
"1:4.2-3.1ubuntu5.3",
"1:4.2-3.1ubuntu5.4",
"1:4.2-3.1ubuntu5.5+esm1",
"1:4.2-3.1ubuntu5.5+esm2",
"1:4.2-3.1ubuntu5.5+esm3"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "login",
"binary_version": "1:4.5-1ubuntu2.5+esm1"
},
{
"binary_name": "passwd",
"binary_version": "1:4.5-1ubuntu2.5+esm1"
},
{
"binary_name": "uidmap",
"binary_version": "1:4.5-1ubuntu2.5+esm1"
}
],
"priority_reason": "Unlikely attack scenario"
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "shadow",
"purl": "pkg:deb/ubuntu/shadow@1:4.5-1ubuntu2.5+esm1?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.5-1ubuntu2.5+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:4.2-3.2ubuntu4",
"1:4.5-1ubuntu1",
"1:4.5-1ubuntu2",
"1:4.5-1ubuntu2.2",
"1:4.5-1ubuntu2.3",
"1:4.5-1ubuntu2.4",
"1:4.5-1ubuntu2.5"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "login",
"binary_version": "1:4.8.1-1ubuntu5.20.04.5"
},
{
"binary_name": "passwd",
"binary_version": "1:4.8.1-1ubuntu5.20.04.5"
},
{
"binary_name": "uidmap",
"binary_version": "1:4.8.1-1ubuntu5.20.04.5"
}
],
"priority_reason": "Unlikely attack scenario"
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "shadow",
"purl": "pkg:deb/ubuntu/shadow@1:4.8.1-1ubuntu5.20.04.5?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.8.1-1ubuntu5.20.04.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:4.5-1.1ubuntu4",
"1:4.8-1ubuntu1",
"1:4.8.1-1ubuntu1",
"1:4.8.1-1ubuntu2",
"1:4.8.1-1ubuntu3",
"1:4.8.1-1ubuntu4",
"1:4.8.1-1ubuntu5",
"1:4.8.1-1ubuntu5.20.04",
"1:4.8.1-1ubuntu5.20.04.1",
"1:4.8.1-1ubuntu5.20.04.2",
"1:4.8.1-1ubuntu5.20.04.3",
"1:4.8.1-1ubuntu5.20.04.4"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "login",
"binary_version": "1:4.8.1-2ubuntu2.2"
},
{
"binary_name": "passwd",
"binary_version": "1:4.8.1-2ubuntu2.2"
},
{
"binary_name": "uidmap",
"binary_version": "1:4.8.1-2ubuntu2.2"
}
],
"priority_reason": "Unlikely attack scenario"
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "shadow",
"purl": "pkg:deb/ubuntu/shadow@1:4.8.1-2ubuntu2.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1:4.8.1-2ubuntu2.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1:4.8.1-1ubuntu9",
"1:4.8.1-1ubuntu10",
"1:4.8.1-2ubuntu1",
"1:4.8.1-2ubuntu2",
"1:4.8.1-2ubuntu2.1"
]
}
],
"aliases": [],
"details": "A flaw was found in shadow-utils. When asking for a new password, shadow-utils asks the password twice. If the password fails on the second attempt, shadow-utils fails in cleaning the buffer used to store the first entry. This may allow an attacker with enough access to retrieve the password from the memory.",
"id": "UBUNTU-CVE-2023-4641",
"modified": "2025-09-08T16:55:56Z",
"published": "2023-12-27T16:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-4641"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6640-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-4641"
}
],
"related": [
"USN-6640-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-4641"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
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…