Skip to content

CVE-2020-16127 accountsservice .pam_environment infinite loop

MediumCVSS 5.5 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

An Ubuntu-specific modification to AccountsService in versions before 0.6.55-0ubuntu13.2, among other earlier versions, would perform unbounded read operations on user-controlled ~/.pam_environment files, allowing an infinite loop if /dev/zero is symlinked to this location.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
freedesktop accountsservice < 0.6.55; >= 0.6.35-0ubuntu7.3, < 0.6.35-0ubuntu7.3+esm2; >= 0.6.40-2ubuntu11, < 0.6.40-2ubuntu11.6; >= 0.6.45-1ubuntu1, < 0.6.45-1ubuntu1.3 +2 more 0.6.35-0ubuntu7.3+esm2, 0.6.40-2ubuntu11.6, 0.6.45-1ubuntu1.3, 0.6.55, 0.6.55-0ubuntu12~20.04.4, 0.6.55-0ubuntu13.2 Fixed
ubuntu/accountsservice(Ubuntu 20.04) < 0.6.55-0ubuntu12~20.04.4; = 0.6.55-0ubuntu10; = 0.6.55-0ubuntu11; = 0.6.55-0ubuntu12~20.04.1 +1 more 0.6.55-0ubuntu12~20.04.4 Fixed

Affected products

ProductAffected versionsFixed in
freedesktop accountsservice < 0.6.55 0.6.55
freedesktop accountsservice >= 0.6.35-0ubuntu7.3, < 0.6.35-0ubuntu7.3+esm2 0.6.35-0ubuntu7.3+esm2
freedesktop accountsservice >= 0.6.40-2ubuntu11, < 0.6.40-2ubuntu11.6 0.6.40-2ubuntu11.6
freedesktop accountsservice >= 0.6.45-1ubuntu1, < 0.6.45-1ubuntu1.3 0.6.45-1ubuntu1.3
freedesktop accountsservice >= 0.6.55-0ubuntu, < 0.6.55-0ubuntu12~20.04.4 0.6.55-0ubuntu12~20.04.4
freedesktop accountsservice >= 0.6.55-0ubuntu13, < 0.6.55-0ubuntu13.2 0.6.55-0ubuntu13.2
ubuntu/accountsservice(Ubuntu:20.04) < 0.6.55-0ubuntu12~20.04.4 0.6.55-0ubuntu12~20.04.4
ubuntu/accountsservice(Ubuntu:20.04) = 0.6.55-0ubuntu10 No fix listed
ubuntu/accountsservice(Ubuntu:20.04) = 0.6.55-0ubuntu11 No fix listed
ubuntu/accountsservice(Ubuntu:20.04) = 0.6.55-0ubuntu12~20.04.1 No fix listed
ubuntu/accountsservice(Ubuntu:20.04) = 0.6.55-0ubuntu12~20.04.2 No fix listed

References