CVE catalog

CVE-2022-0563

util-linux: CVE-2022-0563

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.43% · Oct 27, 2026

A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an "INPUTRC" environment variable to get a path to the library config file. When the library cannot parse the specified file, it prints an error message containing data from the file. This flaw allows an unprivileged user to read root-owned files, potentially leading to privilege escalation. This flaw affects util-linux versions prior to 2.37.4.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianutil-linuxsid2.42.4-1vulnerable
Debianutil-linuxforky2.42.4-1vulnerable
Debianutil-linuxtrixie2.41.5-0+deb13u1vulnerable
Debianutil-linuxtrixie-security2.41.5-0+deb13u1vulnerable
Debianutil-linuxbookworm2.38.1-5+deb12u3vulnerable
Debianutil-linuxbookworm-security2.38.1-5+deb12u1vulnerable
Cpeutil-linuxNot reported2.37.4fixed
Cpeontap_select_deploy_administration_utilityNot reportedNot reportedunknown
Opensuseutil-linuxtumbleweed2.37.4-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianutil-linuxsourcesid(unfixed)unimportantNot reportedNot reported
Debianutil-linuxsourceforky(unfixed)unimportantNot reportedNot reported
Debianutil-linuxsourcetrixie(unfixed)unimportantNot reportedNot reported
Debianutil-linuxsourcebookworm(unfixed)unimportantNot reportedNot reported
Cpeutil-linuxcpeNot reported2.37.4Not reportedNVD-CVE-2022-0563Not reported
Opensuseutil-linuxrpmtumbleweed2.37.4-1.1Not reportedOPENSUSE-SU-2024:11915-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [bsdextrautils]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [bsdutils]Affected

    Source package: [util-linux]

    Details (4)
    • 1:2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 1:2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 1:2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 1:2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [eject]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [fdisk]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [libblkid1]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [libblkid-dev]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [libfdisk1]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [libfdisk-dev]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [libmount1]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [libmount-dev]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [libsmartcols1]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [libuuid1]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [mount]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [rfkill]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [util-linux]Affected
    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · all · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · all · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · all · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · all · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [uuid-dev]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

  • [uuid-runtime]Affected

    Source package: [util-linux]

    Details (4)
    • 2.38.1-5+deb12u3 · amd64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u3 · arm64 · bookworm

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

    • 2.38.1-5+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · util-linux · debian · bookworm

Next results

Observed:

References