Red Hat Enterprise Linux 9: Incorrect Conversion between Numeric Types
CVE-2023-46848 is a high-severity incorrect conversion between numeric types vulnerability in Red Hat Enterprise Linux 9 from Red Hat, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 11.4% chance of exploitation within 30 days, which is in the top 3.94% of all scored CVEs.
EPSS places it among the vulnerabilities most likely to be exploited soon.
What to do
- Update Squid to 6.4 or a later version.
- Read the advisory on github.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 9 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 6 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 7 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 8 | Not specified in the record | Not stated |
| Squid-cache | Squid | 5.0.3 up to, but not including, 6.4 | 6.4 |
| Red Hat | Enterprise Linux | 9.0 | Not stated |
| Red Hat | Enterprise Linux EUS | 9.2 | Not stated |
| Red Hat | Enterprise Linux Server AUS | 9.2 | Not stated |
| Red Hat | Enterprise Linux Server TUS | 9.2 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.6 | High | CNA (redhat.com) |
| CVSS 3.1 | 7.5 | High | NVD |
Official description
Squid is vulnerable to Denial of Service, where a remote attacker can perform DoS by sending ftp:// URLs in HTTP Request messages or constructing ftp:// URLs from FTP Native input.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Incorrect Conversion between Numeric Types
When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.
How developers prevent this class of flaw
- Avoid making conversion between numeric types. Always check for the allowed ranges.
More Incorrect Conversion between Numeric Types vulnerabilities (CWE-681)
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- access.redhat.com/errata/RHSA-2023:6266Third Party Advisory
- access.redhat.com/errata/RHSA-2023:6268Third Party Advisory
- access.redhat.com/errata/RHSA-2023:6748Third Party Advisory
- access.redhat.com/security/cve/CVE-2023-46848Third Party Advisory
Other references
Other vulnerabilities in Red Hat Enterprise Linux 9
- 7.5 High severity
- 7.5 High severity
- 7.9 High severity
- 7.3 High severity
- 7.5 High severity
- 7.8 High severity
Recent Incorrect Conversion between Numeric Types vulnerabilities
- 7.5 High severity
- 7.5 High severity
- 7.1 High severity
- 9.8 Critical severity
- 7.1 High severity
- 7.8 High severity
Spotted an error? Tell us.