CVE-2013-6435: Race Condition

Published Dec 10, 2013
·
Updated

IssueDescription:

It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely. Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation.

Acknowledgements:

This issue was discovered by Florian Weimer of the Red Hat Product Security Team.

Other sources

Race condition in RPM 4.11.1 and earlier allows remote attackers to execute arbitrary code via a crafted RPM file whose installation extracts the contents to temporary files before validating the signature, as demonstrated by installing a file in the /etc/cron.d directory.

MITRE

Affected Software

110 affected components
RPM RPM<=4.11.1
RPM RPM=1.2
RPM RPM=1.3
RPM RPM=1.3.1
RPM RPM=1.4
RPM RPM=1.4.1
RPM RPM=1.4.2
RPM RPM=1.4.2\/a
RPM RPM=1.4.3
RPM RPM=1.4.4
RPM RPM=1.4.5
RPM RPM=1.4.6
RPM RPM=1.4.7
RPM RPM=2.0
RPM RPM=2.0.1
RPM RPM=2.0.2
RPM RPM=2.0.3
RPM RPM=2.0.4
RPM RPM=2.0.5
RPM RPM=2.0.6
RPM RPM=2.0.7
RPM RPM=2.0.8
RPM RPM=2.0.9
RPM RPM=2.0.10
RPM RPM=2.0.11
RPM RPM=2.1
RPM RPM=2.1.1
RPM RPM=2.1.2
RPM RPM=2.2
RPM RPM=2.2.1
RPM RPM=2.2.2
RPM RPM=2.2.3
RPM RPM=2.2.3.10
RPM RPM=2.2.3.11
RPM RPM=2.2.4
RPM RPM=2.2.5
RPM RPM=2.2.6
RPM RPM=2.2.7
RPM RPM=2.2.8
RPM RPM=2.2.9
RPM RPM=2.2.10
RPM RPM=2.2.11
RPM RPM=2.3
RPM RPM=2.3.1
RPM RPM=2.3.2
RPM RPM=2.3.3
RPM RPM=2.3.4
RPM RPM=2.3.5
RPM RPM=2.3.6
RPM RPM=2.3.7
RPM RPM=2.3.8
RPM RPM=2.3.9
RPM RPM=2.4.1
RPM RPM=2.4.2
RPM RPM=2.4.3
RPM RPM=2.4.4
RPM RPM=2.4.5
RPM RPM=2.4.6
RPM RPM=2.4.8
RPM RPM=2.4.9
RPM RPM=2.4.11
RPM RPM=2.4.12
RPM RPM=2.5
RPM RPM=2.5.1
RPM RPM=2.5.2
RPM RPM=2.5.3
RPM RPM=2.5.4
RPM RPM=2.5.5
RPM RPM=2.5.6
RPM RPM=2.6.7
RPM RPM=3.0
RPM RPM=3.0.1
RPM RPM=3.0.2
RPM RPM=3.0.3
RPM RPM=3.0.4
RPM RPM=3.0.5
RPM RPM=3.0.6
RPM RPM=4.0.
RPM RPM=4.0.1
RPM RPM=4.0.2
RPM RPM=4.0.3
RPM RPM=4.0.4
RPM RPM=4.1
RPM RPM=4.3.3
RPM RPM=4.4.2.1
RPM RPM=4.4.2.2
RPM RPM=4.4.2.3
RPM RPM=4.5.90
RPM RPM=4.6.0
RPM RPM=4.6.0-rc1
RPM RPM=4.6.0-rc2
RPM RPM=4.6.0-rc3
RPM RPM=4.6.0-rc4
RPM RPM=4.6.1
RPM RPM=4.7.0
RPM RPM=4.7.1
RPM RPM=4.7.2
RPM RPM=4.8.0
RPM RPM=4.8.1
RPM RPM=4.9.0
RPM RPM=4.9.0-alpha
RPM RPM=4.9.0-beta1
RPM RPM=4.9.0-rc1
RPM RPM=4.9.1
RPM RPM=4.9.1.1
RPM RPM=4.9.1.2
RPM RPM=4.10.0
RPM RPM=4.10.1
RPM RPM=4.10.2
Debian Debian Linux=7.0

Event History

Dec 10, 2013
Data Sourced
04:12 AM
DescriptionSeverityAffected Software
Dec 16, 2014
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2013-6435?

CVE-2013-6435 has a high severity rating due to its potential to allow unverified file execution.

2

How do I fix CVE-2013-6435?

To fix CVE-2013-6435, you should upgrade to a version of RPM Package Manager that is newer than 4.11.1 and apply the available security patch.

3

What systems are affected by CVE-2013-6435?

CVE-2013-6435 affects various versions of the RPM Package Manager, including versions from 1.2 up to 4.11.1.

4

What type of vulnerability is CVE-2013-6435?

CVE-2013-6435 is classified as a file handling vulnerability that involves the processing of unverified temporary files.

5

Is there a workaround for CVE-2013-6435?

While the best solution is to update RPM, temporarily restricting access to unverified files can serve as a workaround until an update is applied.

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