CVE-2022-43995

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-43995
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-43995.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-43995
Related
Published
2022-11-02T14:15:16Z
Modified
2024-09-03T04:21:08.916958Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

Sudo 1.8.0 through 1.9.12, with the crypt() password backend, contains a plugins/sudoers/auth/passwd.c array-out-of-bounds error that can result in a heap-based buffer over-read. This can be triggered by arbitrary local users with access to Sudo by entering a password of seven characters or fewer. The impact could vary depending on the system libraries, compiler, and processor architecture.

References

Affected packages

Alpine:v3.14 / sudo

Package

Name
sudo
Purl
pkg:apk/alpine/sudo?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.12-r1

Affected versions

1.*

1.6.9_p17-r1
1.7.0-r0
1.7.1-r0
1.7.2-r0
1.7.2_p1-r0
1.7.2_p2-r0
1.7.2_p4-r0
1.7.2_p5-r0
1.7.2_p6-r0
1.7.2_p6-r1
1.7.2_p7-r0
1.7.3-r0
1.7.4_p2-r0
1.7.4_p3-r0
1.7.4_p4-r0
1.7.4_p5-r0
1.7.4p6-r0
1.8.0-r0
1.8.0-r1
1.8.1-r0
1.8.1p1-r0
1.8.2-r0
1.8.3-r0
1.8.3_p1-r0
1.8.3_p2-r0
1.8.3_p2-r1
1.8.4-r0
1.8.4_p1-r0
1.8.4_p2-r0
1.8.4_p4-r0
1.8.5_p1-r0
1.8.5_p2-r0
1.8.5_p3-r0
1.8.6-r0
1.8.6_p1-r0
1.8.6_p3-r0
1.8.6_p4-r0
1.8.6_p5-r0
1.8.6_p6-r0
1.8.6_p7-r0
1.8.6_p8-r0
1.8.7-r0
1.8.8-r0
1.8.9_p4-r0
1.8.9_p5-r0
1.8.10-r0
1.8.10_p1-r0
1.8.10_p2-r0
1.8.10_p3-r0
1.8.11_p2-r0
1.8.12-r0
1.8.13-r0
1.8.14_p3-r0
1.8.14_p3-r1
1.8.15-r0
1.8.15-r1
1.8.16-r0
1.8.17-r0
1.8.17_p1-r0
1.8.18-r0
1.8.18_p1-r0
1.8.19_p1-r0
1.8.19_p2-r0
1.8.20_p1-r0
1.8.20_p2-r0
1.8.21_p2-r0
1.8.21_p2-r1
1.8.21_p2-r2
1.8.22-r2
1.8.23-r2
1.8.25_p1-r2
1.8.27-r0
1.8.28-r0
1.8.28p1-r0
1.8.29-r0
1.8.30-r0
1.8.31-r0
1.8.31p1-r0
1.8.31p1-r1
1.9.0-r0
1.9.1-r0
1.9.3-r0
1.9.3_p1-r0
1.9.4-r0
1.9.4p2-r0
1.9.5-r0
1.9.5p1-r0
1.9.5p2-r0
1.9.6-r0
1.9.6_p1-r0
1.9.6_p1-r1
1.9.7_p1-r1
1.9.12-r0

Alpine:v3.15 / sudo

Package

Name
sudo
Purl
pkg:apk/alpine/sudo?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.12-r1

Affected versions

1.*

1.6.9_p17-r1
1.7.0-r0
1.7.1-r0
1.7.2-r0
1.7.2_p1-r0
1.7.2_p2-r0
1.7.2_p4-r0
1.7.2_p5-r0
1.7.2_p6-r0
1.7.2_p6-r1
1.7.2_p7-r0
1.7.3-r0
1.7.4_p2-r0
1.7.4_p3-r0
1.7.4_p4-r0
1.7.4_p5-r0
1.7.4p6-r0
1.8.0-r0
1.8.0-r1
1.8.1-r0
1.8.1p1-r0
1.8.2-r0
1.8.3-r0
1.8.3_p1-r0
1.8.3_p2-r0
1.8.3_p2-r1
1.8.4-r0
1.8.4_p1-r0
1.8.4_p2-r0
1.8.4_p4-r0
1.8.5_p1-r0
1.8.5_p2-r0
1.8.5_p3-r0
1.8.6-r0
1.8.6_p1-r0
1.8.6_p3-r0
1.8.6_p4-r0
1.8.6_p5-r0
1.8.6_p6-r0
1.8.6_p7-r0
1.8.6_p8-r0
1.8.7-r0
1.8.8-r0
1.8.9_p4-r0
1.8.9_p5-r0
1.8.10-r0
1.8.10_p1-r0
1.8.10_p2-r0
1.8.10_p3-r0
1.8.11_p2-r0
1.8.12-r0
1.8.13-r0
1.8.14_p3-r0
1.8.14_p3-r1
1.8.15-r0
1.8.15-r1
1.8.16-r0
1.8.17-r0
1.8.17_p1-r0
1.8.18-r0
1.8.18_p1-r0
1.8.19_p1-r0
1.8.19_p2-r0
1.8.20_p1-r0
1.8.20_p2-r0
1.8.21_p2-r0
1.8.21_p2-r1
1.8.21_p2-r2
1.8.22-r2
1.8.23-r2
1.8.25_p1-r2
1.8.27-r0
1.8.28-r0
1.8.28p1-r0
1.8.29-r0
1.8.30-r0
1.8.31-r0
1.8.31p1-r0
1.8.31p1-r1
1.9.0-r0
1.9.1-r0
1.9.3-r0
1.9.3_p1-r0
1.9.4-r0
1.9.4p2-r0
1.9.5-r0
1.9.5p1-r0
1.9.5p2-r0
1.9.6-r0
1.9.6_p1-r0
1.9.6_p1-r1
1.9.7_p1-r1
1.9.7_p2-r0
1.9.8-r0
1.9.8_p1-r0
1.9.8_p2-r0
1.9.8_p2-r1
1.9.12-r0

Debian:11 / sudo

Package

Name
sudo
Purl
pkg:deb/debian/sudo?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.9.5p2-3
1.9.5p2-3+deb11u1
1.9.5p2-3+exp1
1.9.6-1~exp1
1.9.6-1~exp2
1.9.8p2-1~exp1
1.9.8p2-1
1.9.9-1
1.9.10-1
1.9.10-2
1.9.10-3
1.9.11p3-1
1.9.11p3-2
1.9.12p1-1
1.9.12p2-1
1.9.13p1-1
1.9.13p3-1
1.9.13p3-2
1.9.13p3-3
1.9.14p2-1
1.9.15p2-1
1.9.15p2-2
1.9.15p3-1
1.9.15p4-1
1.9.15p4-2
1.9.15p5-1
1.9.15p5-2
1.9.15p5-3
1.9.15p5-3+hurd.1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / sudo

Package

Name
sudo
Purl
pkg:deb/debian/sudo?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.12p1-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / sudo

Package

Name
sudo
Purl
pkg:deb/debian/sudo?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.12p1-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Git / github.com/millert/sudo

Affected ranges

Type
GIT
Repo
https://github.com/millert/sudo
Events
Type
GIT
Repo
https://github.com/sudo-project/sudo
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

Other

SUDO_1_3_0
SUDO_1_3_1
SUDO_1_4_0
SUDO_1_5_0
SUDO_1_5_1
SUDO_1_5_2
SUDO_1_5_3
SUDO_1_5_4
SUDO_1_5_6
SUDO_1_5_7
SUDO_1_5_8
SUDO_1_5_9
SUDO_1_6_0
SUDO_1_6_1
SUDO_1_6_2
SUDO_1_6_3
SUDO_1_6_4
SUDO_1_6_5
SUDO_1_6_6
SUDO_1_6_7
SUDO_1_6_8
SUDO_1_6_8p1
SUDO_1_7_0
SUDO_1_7_1
SUDO_1_7_2
SUDO_1_8_0
SUDO_1_9_0