CVE-2023-25193
harfbuzz: allows attackers to trigger O(n^2) growth via consecutive marks
Overview
Description
hb-ot-layout-gsubgpos.hh in HarfBuzz through 6.0.0 allows attackers to trigger O(n^2) growth via consecutive marks during the process of looking back for base glyphs when attaching marks.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-770
Affected packages · 6
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | java | >=9.0.0, <11.0.20>=12.0.0, <17.0.8>=18.0.0, <20.0.2 | 11.0.2017.0.820.0.2 |
| Bitnami | java-min | >=9.0.0, <11.0.20>=12.0.0, <17.0.8>=18.0.0, <20.0.2 | 11.0.2017.0.820.0.2 |
| Bitnami | jre | >=9.0.0, <11.0.20>=12.0.0, <17.0.8>=18.0.0, <20.0.2 | 11.0.2017.0.820.0.2 |
| Conan (C/C++) | harfbuzz | <=6.0.0 | 7.1.0 |
| Julia | HarfBuzz_ICU_jll | <8.5.0+0 | 8.5.0+0 |
| Julia | HarfBuzz_jll | <8.3.1+0 | 8.3.1+0 |
Open a package to see all its vulnerabilities.
Operating systems · 99 fixes
Oracle Linux 3 releases · 3 packages
fixed 7
java-11-openjdk
harfbuzz
java-17-openjdk
| Release | Package | Fixed in |
|---|---|---|
| 7 | java-11-openjdk +8 | 1:11.0.20.0.8-1.0.1.el7_9 |
| 8 | harfbuzz +2 | 1.7.5-4.el8 |
| 8 | java-11-openjdk +22 | 1:11.0.20.0.8-2.0.1.el8 |
| 8 | java-17-openjdk +22 | 1:17.0.8.0.7-2.0.1.el8 |
| 9 | java-11-openjdk +22 | 1:11.0.20.0.8-2.0.1.el9 |
| 9 | java-17-openjdk +22 | 1:17.0.8.0.7-2.0.1.el9 |
1 more row
Photon OS 1 release · 1 package
fixed 1
harfbuzz
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | harfbuzz +1 | 7.0.1-1.ph4 |
Red Hat 3 releases · 3 packages
eol 1
fixed 15
harfbuzz
java-11-openjdk
java-17-openjdk
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | harfbuzz +2 | eol | — |
| 7 | java-11-openjdk +8 | 1:11.0.20.0.8-1.el7_9 | RHSA-2023:4233 |
| 8 | harfbuzz +2 | 0:1.7.5-4.el8 | RHSA-2024:2980 |
| 8 | java-11-openjdk +7 | 1:11.0.20.0.8-1.el8_1 | RHSA-2023:4165 |
| 8 | java-11-openjdk +8 | 1:11.0.20.0.8-1.el8_2 | RHSA-2023:4162 |
| 8 | java-11-openjdk +8 | 1:11.0.20.0.8-1.el8_4 | RHSA-2023:4163 |
10 more rows
SUSE Linux Enterprise 3 releases · 4 packages
fixed 10
harfbuzz-devel
java-1-8-0-ibm-6d061c
java-11-openjdk
java-17-openjdk
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | harfbuzz-devel +4 | 1.4.5-8.3.1 | SUSE-SU-2023:1821-1 |
| 12.5 | java-1-8-0-ibm-6d061c +3 | 1.8.0_sr8.10-30.114.1 | SUSE-SU-2023:3406-1 |
| 12.5 | java-11-openjdk +3 | 11.0.20.0-3.61.1 | SUSE-SU-2023:2990-1 |
| 15.4 | java-1-8-0-ibm-6d061c +3 | 1.8.0_sr8.10-150000.3.80.1 | SUSE-SU-2023:3441-1 |
| 15.4 | java-11-openjdk +4 | 11.0.20.0-150000.3.99.1 | SUSE-SU-2023:3287-1 |
| 15.4 | java-17-openjdk +3 | 17.0.8.0-150400.3.27.1 | SUSE-SU-2023:3023-1 |
4 more rows
SUSE Linux Enterprise Micro 3 releases · 2 packages
fixed 3
libharfbuzz0
libharfbuzz-gobject0
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.2 | libharfbuzz0 | 2.6.4-150200.3.6.1 | SUSE-SU-2023:1822-1 |
| 5.3 | libharfbuzz-gobject0 +2 | 3.4.0-150400.3.6.1 | SUSE-SU-2023:1852-1 |
| 5.4 | libharfbuzz-gobject0 +2 | 3.4.0-150400.3.6.1 | SUSE-SU-2023:1852-1 |
alma 2 releases · 3 packages
fixed 6
harfbuzz
java-11-openjdk
java-17-openjdk
| Release | Package | Fixed in |
|---|---|---|
| 8 | harfbuzz +2 | 1.7.5-4.el8 |
| 8 | java-11-openjdk +22 | 1:11.0.20.0.8-2.el8 |
| 8 | java-17-openjdk +22 | 1:17.0.8.0.7-2.el8 |
| 9 | java-11-openjdk +22 | 1:11.0.20.0.8-2.el9 |
| 9 | java-17-openjdk +22 | 1:17.0.8.0.7-2.el9 |
| 9 | harfbuzz +2 | 2.7.4-10.el9 |
alpine 4 releases · 2 packages
fixed 8
openjdk11
openjdk17
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openjdk11 | 11.0.20_p8-r0 |
| 3.22 | openjdk17 | 17.0.8_p7-r0 |
| 3.23 | openjdk11 | 11.0.20_p8-r0 |
| 3.23 | openjdk17 | 17.0.8_p7-r0 |
| 3.24 | openjdk11 | 11.0.20_p8-r0 |
| 3.24 | openjdk17 | 17.0.8_p7-r0 |
2 more rows
amazon linux 1 release · 3 packages
fixed 3
java-11-amazon-corretto
java-17-amazon-corretto
harfbuzz
| Release | Package | Fixed in |
|---|---|---|
| 2023 | java-11-amazon-corretto +4 | 1:11.0.20+8-1.amzn2023 |
| 2023 | java-17-amazon-corretto +4 | 1:17.0.8+7-1.amzn2023.1 |
| 2023 | harfbuzz +6 | 7.0.0-2.amzn2023.0.1 |
chainguard 1 release · 3 packages
fixed 3
openjdk-15
openjdk-16
openjdk-19
| Release | Package | Fixed in |
|---|---|---|
| openjdk-15 | 15.0.10.5-r7 | |
| openjdk-16 | 16.0.2.7-r7 | |
| openjdk-19 | 19.0.2.7-r6 |
debian 5 releases · 1 package
affected 3
fixed 2
harfbuzz
| Release | Package | Fixed in |
|---|---|---|
| 10 | harfbuzz | affected |
| 11 | harfbuzz | affected |
| 12 | harfbuzz | affected |
| 13 | harfbuzz | 8.0.0-1 |
| 14 | harfbuzz | 8.0.0-1 |
echo 1 release · 1 package
fixed 1
harfbuzz
| Release | Package | Fixed in |
|---|---|---|
| harfbuzz | 8.0.0-1 |
minimos 1 release · 7 packages
fixed 7
openjdk-10
openjdk-13
openjdk-14
openjdk-15
openjdk-16
openjdk-19
+1
| Release | Package | Fixed in |
|---|---|---|
| openjdk-10 | 10.0.2-r1 | |
| openjdk-13 | 13.0.14.5-r1 | |
| openjdk-14 | 14.0.2.12-r1 | |
| openjdk-15 | 15.0.10.5-r1 | |
| openjdk-16 | 16.0.2.7-r1 | |
| openjdk-19 | 19.0.2.7-r1 |
1 more row
openSUSE 1 release · 4 packages
fixed 4
java-11-openjdk
java-17-openjdk
java-17-openj9
harfbuzz-devel
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | java-11-openjdk +6 | 11.0.20.0-1.1 | openSUSE-SU-2024:13075-1 |
| Tumbleweed | java-17-openjdk +6 | 17.0.8.0-1.1 | openSUSE-SU-2024:13076-1 |
| Tumbleweed | java-17-openj9 +6 | 17.0.8.0-1.1 | openSUSE-SU-2024:13131-1 |
| Tumbleweed | harfbuzz-devel +10 | 6.0.0-2.1 | openSUSE-SU-2024:12660-1 |
openSUSE Leap Micro 1 release · 1 package
fixed 1
libharfbuzz-gobject0
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libharfbuzz-gobject0 +2 | 3.4.0-150400.3.6.1 | SUSE-SU-2023:1852-1 |
rocky 2 releases · 1 package
fixed 2
harfbuzz
| Release | Package | Fixed in |
|---|---|---|
| 8 | harfbuzz +2 | 1.7.5-4.el8 |
| 9 | harfbuzz +2 | 2.7.4-10.el9 |
root.io debian 3 releases · 2 packages
fixed 3
harfbuzz
rootio-harfbuzz
| Release | Package | Fixed in |
|---|---|---|
| 11 | harfbuzz +1 | 2.7.4-1.root.io.1 |
| 12 | harfbuzz +1 | 6.0.0+dfsg-3.root.io.1 |
| 13 | rootio-harfbuzz | 8.0.0-1 |
ubuntu 6 releases · 4 packages
fixed 16
openjdk-lts
openjdk-17
harfbuzz
openjdk-21
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | openjdk-lts | 11.0.20+8-1ubuntu1~18.04 |
| 18.04-ESM | openjdk-17 | 17.0.8+7-1~18.04 |
| 20.04 | openjdk-lts | 11.0.20+8-1ubuntu1~20.04 |
| 20.04 | openjdk-17 | 17.0.8+7-1~20.04.2 |
| 20.04 | harfbuzz | 2.6.4-1ubuntu4.3 |
| 20.04 | openjdk-21 | 21.0.1+12-2~20.04 |
10 more rows
wolfi 1 release · 3 packages
fixed 3
openjdk-15
openjdk-16
openjdk-19
| Release | Package | Fixed in |
|---|---|---|
| openjdk-15 | 15.0.10.5-r7 | |
| openjdk-16 | 16.0.2.7-r7 | |
| openjdk-19 | 19.0.2.7-r6 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:2410
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:2980
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-25193
- bugzilla.redhat.com https://bugzilla.redhat.com/2167254
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2167254
- chromium.googlesource.com https://chromium.googlesource.com/chromium/src/+/e1f324aa681af54101c1f2d173d92adb80e37088/DEPS#361
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-25193
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-2410.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2024:2980
Show all 26 references
- github.com https://github.com/harfbuzz/harfbuzz/blob/2822b589bc837fae6f66233e2cf2eef0f6ce8470/src/hb-ot-layout-gsubgpos.hh
- github.com https://github.com/harfbuzz/harfbuzz/commit/85be877925ddbf34f74a1229f3ca1716bb6170dc
- github.com https://github.com/harfbuzz/harfbuzz/commit/85be877925ddbf34f74a1229f3ca1716bb6170dc (reverted)
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-25193.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-2980.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KWCHWSICWVZSAXP2YAXM65JC2GR53547/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YZ5M2GSAIHFPLHYJXUPQ2QDJCLWXUGO3/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KWCHWSICWVZSAXP2YAXM65JC2GR53547/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-25193
- openjdk.org https://openjdk.org/groups/vulnerability/advisories/2023-07-18
- security.netapp.com https://security.netapp.com/advisory/ntap-20230725-0006/
- ubuntu.com https://ubuntu.com/security/notices/USN-6263-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6272-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7251-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-25193
- www.oracle.com https://www.oracle.com/security-alerts/cpujul2023.html
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.