{"id":"UBUNTU-CVE-2021-25311","details":"condor_credd in HTCondor before 8.9.11 allows Directory Traversal outside the SEC_CREDENTIAL_DIRECTORY_OAUTH directory, as demonstrated by creating a file under /etc that will later be executed by root.","modified":"2026-09-21T10:00:29.506686583Z","published":"2021-01-27T16:15:00Z","upstream":["CVE-2021-25311"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-25311"},{"type":"REPORT","url":"https://research.cs.wisc.edu/htcondor/security/vulnerabilities/HTCONDOR-2021-0002.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-25311"}],"affected":[{"package":{"name":"condor","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/condor?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.8.8~dfsg.1-2","7.8.8~dfsg.1-2.1","8.0.5~dfsg.1-1ubuntu1","8.0.5~dfsg.1-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"8.0.5~dfsg.1-1ubuntu1+esm1","binary_name":"htcondor"},{"binary_version":"8.0.5~dfsg.1-1ubuntu1+esm1","binary_name":"libclassad5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-25311.json"}},{"package":{"name":"condor","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/condor?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.2.9~dfsg.1-1","8.4.2~dfsg.1-1","8.4.2~dfsg.1-1build1","8.4.2~dfsg.1-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"8.4.2~dfsg.1-1ubuntu0.1~esm1","binary_name":"condor"},{"binary_name":"htcondor","binary_version":"8.4.2~dfsg.1-1ubuntu0.1~esm1"},{"binary_version":"8.4.2~dfsg.1-1ubuntu0.1~esm1","binary_name":"libclassad7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-25311.json"}},{"package":{"name":"condor","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/condor?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.6.8~dfsg.1-2build1","8.6.8~dfsg.1-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"8.6.8~dfsg.1-2ubuntu1","binary_name":"htcondor"},{"binary_name":"libclassad8","binary_version":"8.6.8~dfsg.1-2ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-25311.json"}},{"package":{"name":"condor","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/condor?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["23.2.0+dfsg-1","23.2.0+dfsg-2","23.4.0+dfsg-1","23.4.0+dfsg-1ubuntu2","23.4.0+dfsg-1ubuntu3","23.4.0+dfsg-1ubuntu4","23.4.0+dfsg-1ubuntu4.1"],"ecosystem_specific":{"binaries":[{"binary_name":"condor","binary_version":"23.4.0+dfsg-1ubuntu4.1"},{"binary_version":"23.4.0+dfsg-1ubuntu4.1","binary_name":"condor-annex-ec2"},{"binary_name":"condor-kbdd","binary_version":"23.4.0+dfsg-1ubuntu4.1"},{"binary_name":"condor-test","binary_version":"23.4.0+dfsg-1ubuntu4.1"},{"binary_version":"23.4.0+dfsg-1ubuntu4.1","binary_name":"condor-upgrade-checks"},{"binary_name":"condor-vm-gahp","binary_version":"23.4.0+dfsg-1ubuntu4.1"},{"binary_version":"23.4.0+dfsg-1ubuntu4.1","binary_name":"htcondor"},{"binary_name":"htcondor-annex-ec2","binary_version":"23.4.0+dfsg-1ubuntu4.1"},{"binary_name":"htcondor-test","binary_version":"23.4.0+dfsg-1ubuntu4.1"},{"binary_version":"23.4.0+dfsg-1ubuntu4.1","binary_name":"htcondor-upgrade-checks"},{"binary_name":"minicondor","binary_version":"23.4.0+dfsg-1ubuntu4.1"},{"binary_version":"23.4.0+dfsg-1ubuntu4.1","binary_name":"minihtcondor"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-25311.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}