CVE-2024-12224
Public on
Last Modified:
Description
A flaw was found in idna crate. This vulnerability allows hostname spoofing and potential privilege escalation via specially crafted Punycode labels that render as ASCII or empty labels, leading to incorrect equality comparisons during hostname validation.
Statement
This issue was rated as moderate because certain hostnames can be interpreted incorrectly by idna, potentially allowing an attacker to bypass hostname checks. Exploitation requires specific conditions, such as a client accepting unusual domain names and an attacker controlling a matching DNS entry. While it could expose sensitive information or allow limited privilege escalation, it does not affect system availability, and the risk is considered moderate.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Additional information
- This content is not included.Bugzilla 2369303: idna: idna accepts Punycode labels that do not produce any non-ASCII when decoded
- Content from cwe.mitre.org is not included.CWE-1289: Improper Validation of Unsafe Equivalence in Input
Affected Packages and Issued Red Hat Security Errata
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Confidential Compute Attestation | confidential-compute-attestation-tech-preview/trustee-rhel9 | Not affected | |
| OpenShift Serverless | openshift-serverless-1/kn-plugin-func-func-util-rhel8 | Affected | |
| Red Hat Ansible Automation Platform 2 | python3.11-nh3 | Not affected | |
| Red Hat Enterprise Linux 10 | firefox | Affected | |
| Red Hat Enterprise Linux 10 | gjs | Affected | |
| Red Hat Enterprise Linux 10 | netavark | Affected | |
| Red Hat Enterprise Linux 10 | rust-afterburn | Affected | |
| Red Hat Enterprise Linux 10 | rust-sevctl | Affected | |
| Red Hat Enterprise Linux 10 | thunderbird | Affected | |
| Red Hat Enterprise Linux 10 | trustee-guest-components | Affected | |
| Red Hat Enterprise Linux 10 | aardvark-dns | Not affected | |
| Red Hat Enterprise Linux 10 | glycin-loaders | Not affected | |
| Red Hat Enterprise Linux 10 | keylime-agent-rust | Not affected | |
| Red Hat Enterprise Linux 10 | librsvg2 | Not affected | |
| Red Hat Enterprise Linux 10 | loupe | Not affected | |
| Red Hat Enterprise Linux 10 | rpm-ostree | Not affected | |
| Red Hat Enterprise Linux 10 | rust | Not affected | |
| Red Hat Enterprise Linux 10 | rust-rpm-sequoia | Not affected | |
| Red Hat Enterprise Linux 10 | snpguest | Not affected | |
| Red Hat Enterprise Linux 10 | fido-device-onboard | Will not fix | |
| Red Hat Enterprise Linux 6 | firefox | Out of support scope | |
| Red Hat Enterprise Linux 6 | thunderbird | Out of support scope | |
| Red Hat Enterprise Linux 7 | firefox | Affected | |
| Red Hat Enterprise Linux 7 | thunderbird | Affected | |
| Red Hat Enterprise Linux 7 | mozjs52 | Not affected | |
| Red Hat Enterprise Linux 8 | firefox | Affected | |
| Red Hat Enterprise Linux 8 | thunderbird | Affected | |
| Red Hat Enterprise Linux 8 | container-tools:rhel8/aardvark-dns | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:rhel8/containers-common | Not affected | |
| Red Hat Enterprise Linux 8 | container-tools:rhel8/netavark | Not affected | |
| Red Hat Enterprise Linux 8 | rust-toolset:rhel8/rust | Not affected | |
| Red Hat Enterprise Linux 8 | mozjs52 | Will not fix | |
| Red Hat Enterprise Linux 8 | mozjs60 | Will not fix | |
| Red Hat Enterprise Linux 8 | rpm-ostree | Will not fix | |
| Red Hat Enterprise Linux 9 | firefox | Affected | |
| Red Hat Enterprise Linux 9 | gjs | Affected | |
| Red Hat Enterprise Linux 9 | rust-afterburn | Affected | |
| Red Hat Enterprise Linux 9 | thunderbird | Affected | |
| Red Hat Enterprise Linux 9 | trustee-guest-components | Affected | |
| Red Hat Enterprise Linux 9 | aardvark-dns | Not affected | |
| Red Hat Enterprise Linux 9 | keylime-agent-rust | Not affected | |
| Red Hat Enterprise Linux 9 | netavark | Not affected | |
| Red Hat Enterprise Linux 9 | polkit | Not affected | |
| Red Hat Enterprise Linux 9 | snpguest | Not affected | |
| Red Hat Enterprise Linux 9 | librsvg2 | Will not fix | |
| Red Hat Enterprise Linux 9 | rpm-ostree | Will not fix | |
| Red Hat Enterprise Linux 9 | rust | Will not fix | |
| Red Hat Enterprise Linux 9 | rust-coreos-installer | Will not fix | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-feature-server-rhel8 | Affected | |
| Red Hat OpenShift AI 2.25 | rhoai/odh-feature-server-rhel9 | Fixed | RHSA-2026:42644 |
| Red Hat OpenShift Container Platform 4 | coreos-installer | Affected | |
| Red Hat OpenShift Container Platform 4 | kata-containers | Affected | |
| Red Hat OpenShift Container Platform 4 | conmon-rs | Not affected | |
| Red Hat OpenShift Container Platform 4 | rpm-ostree | Not affected | |
| Red Hat OpenShift Container Platform 4 | rust-afterburn | Not affected | |
| Red Hat Satellite 6 | python-maturin | Affected | |
| Red Hat Satellite 6 | python3.12-maturin | Affected | |
| Red Hat Trusted Artifact Signer | rhtas/tuffer-rhel9 | Not affected | |
| Red Hat Trusted Artifact Signer | rhtas/tuftool-rhel9 | Not affected | |
| Red Hat Trusted Profile Analyzer | rhtpa/rhtpa-trustification-service-rhel9 | Not affected | |
| Red Hat Trusted Profile Analyzer | rhtpa/rhtpa-trustification-service-rhel9 | Will not fix |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| CVSS v3 Base Score | 5.9 | 8.8 | N/A |
| Attack Vector | Network | Network | N/A |
| Attack Complexity | High | Low | N/A |
| Privileges Required | None | None | N/A |
| User Interaction | Required | Required | N/A |
| Scope | Unchanged | Unchanged | N/A |
| Confidentiality Impact | High | High | N/A |
| Integrity Impact | Low | High | N/A |
| Availability Impact | None | High | N/A |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat CVSS v3 Score Explanation
There are certain checks and balances in the system, such as input validation, which makes the scope of exploitation lesser, which is why CVSS has been marked as such.
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.