{"id":"UBUNTU-CVE-2022-31084","details":"LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. In versions prior to 8.0 There are cases where LAM instantiates objects from arbitrary classes. An attacker can inject the first constructor argument. This can lead to code execution if non-LAM classes are instantiated that execute code during object creation. This issue has been fixed in version 8.0.","modified":"2026-01-20T17:31:28.023746Z","published":"2022-06-27T21:15:00Z","upstream":["CVE-2022-31084"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-31084"},{"type":"REPORT","url":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-r387-grjx-qgvw"},{"type":"REPORT","url":"https://github.com/LDAPAccountManager/lam/commit/f1d5d04952f39a1b4ea203d3964fa88e1429dfd4"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-31084"}],"affected":[{"package":{"name":"ldap-account-manager","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ldap-account-manager@5.2-1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9-1","5.1-1","5.2-1","5.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.2-1ubuntu1","binary_name":"ldap-account-manager"},{"binary_version":"5.2-1ubuntu1","binary_name":"ldap-account-manager-lamdaemon"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31084.json"}},{"package":{"name":"ldap-account-manager","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ldap-account-manager@6.2-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.7-1","6.1-1","6.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.2-1","binary_name":"ldap-account-manager"},{"binary_version":"6.2-1","binary_name":"ldap-account-manager-lamdaemon"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31084.json"}},{"package":{"name":"ldap-account-manager","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ldap-account-manager@6.7-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.7-1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.7-1","binary_name":"ldap-account-manager"},{"binary_version":"6.7-1","binary_name":"ldap-account-manager-lamdaemon"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31084.json"}},{"package":{"name":"ldap-account-manager","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ldap-account-manager@7.7-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.5-1","7.7-1"],"ecosystem_specific":{"binaries":[{"binary_version":"7.7-1","binary_name":"ldap-account-manager"},{"binary_version":"7.7-1","binary_name":"ldap-account-manager-lamdaemon"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31084.json"}},{"package":{"name":"ldap-account-manager","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ldap-account-manager@9.0-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.0-1","binary_name":"ldap-account-manager"},{"binary_version":"9.0-1","binary_name":"ldap-account-manager-lamdaemon"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31084.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}