CVE-2012-3490: High severity Wisc Htcondor vulnerability

Published Aug 14, 2012
·
Updated

Florian Weimer of the Red Hat Product Security Team reported that certain functions in Condor (mypopenvimpl and myspawnv in src/condorutils/mypopen.cpp) did not check the return value of setuid and similar function calls:

euid = geteuid(); egid = getegid(); seteuid( 0 ); setgroups( 1, &egid ); setgid( egid ); setuid( euid );

As a result, the subprocess could possibly be created with root privileges instead of those of the intended user.

Other sources

The (1) mypopenvimpl and (2) myspawnv functions in src/condorutils/mypopen.cpp and the (3) systemCommand function in condorvm-gahp/vmgahpcommon.cpp in Condor 7.6.x before 7.6.10 and 7.8.x before 7.8.4 does not properly check the return value of setuid calls, which might cause a subprocess to be created with root privileges and allow remote attackers to gain privileges via unspecified vectors.

Affected Software

7 affected componentsFixes available
Wisc Htcondor>=7.6.0<7.6.10
Wisc Htcondor>=7.8.0<7.8.4
debian/condor
23.9.6+dfsg-2.125.14.1+dfsg-1
debian/condor<7.8.2~dfsg.1-1+deb7u1
7.8.2~dfsg.1-1+deb7u1
debian/condor<7.8.2~dfsg.1-1+deb7u1
7.8.2~dfsg.1-1+deb7u1
redhat/condor<7.6.10
7.6.10
redhat/condor<7.8.4
7.8.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/condor to a version that resolves this vulnerability.

    Fixed in 23.9.6+dfsg-2.1Fixed in 25.14.1+dfsg-1
  2. Upgrade

    Upgrade debian/condor to a version that resolves this vulnerability.

    Fixed in 7.8.2~dfsg.1-1+deb7u1
  3. Upgrade

    Upgrade redhat/condor to a version that resolves this vulnerability.

    Fixed in 7.6.10
  4. Upgrade

    Upgrade redhat/condor to a version that resolves this vulnerability.

    Fixed in 7.8.4

Event History

Aug 14, 2012
Data Sourced
via Red Hat·10:24 PM
DescriptionSeverityAffected Software
Jan 9, 2020
CVE Published
via MITRE·08:23 PM
Data Sourced
via MITRE·08:23 PM
DescriptionWeakness
Data Sourced
09:15 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·09:15 PM
DescriptionAffected Software
Jan 29, 2020
Event
03:32 PM
Nov 18, 2026
Data Sourced
via OSV·12:00 PM
Severity

Frequently Asked Questions

1

What is the severity of CVE-2012-3490?

CVE-2012-3490 is classified as a high-severity vulnerability due to improper return value checks on setuid calls.

2

How do I fix CVE-2012-3490?

To mitigate CVE-2012-3490, upgrade HTCondor to versions 7.6.10 or later, or 7.8.4 or later.

3

What types of systems are affected by CVE-2012-3490?

CVE-2012-3490 affects HTCondor versions prior to 7.6.10 and 7.8.4.

4

What functions are involved in CVE-2012-3490?

CVE-2012-3490 involves the my_popenv_impl, my_spawnv, and systemCommand functions.

5

What could be the consequence of exploiting CVE-2012-3490?

Exploitation of CVE-2012-3490 may allow unauthorized subprocess execution due to improper privilege management.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203