CVE-2016-4356
published 2016-06-13CVE-2016-4356: The append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.3 allows remote attackers to cause a denial of service (out-of-bounds read) by…
PriorityP434high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
2.93%
85.5th percentile
The append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.3 allows remote attackers to cause a denial of service (out-of-bounds read) by clearing the high bit of the byte after invalid utf-8 encoded data.
Affected
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | libksba | < libksba 1.3.4-3 (bookworm) | libksba 1.3.4-3 (bookworm) |
| debian | libksba | < libksba 1.3.3-1 (bookworm) | libksba 1.3.3-1 (bookworm) |
| gnupg | libksba | <= 1.3.2 | — |
| gnupg | libksba | <= 1.3.3 | — |
| gnupg | libksba | >= 0 < 1.3.3-1 | 1.3.3-1 |
| gnupg | libksba | >= 0 < 1.3.4-3 | 1.3.4-3 |
| gnupg | libksba | >= 0 < 1.3.3-1 | 1.3.3-1 |
| gnupg | libksba | >= 0 < 1.3.4-3 | 1.3.4-3 |
| gnupg | libksba | >= 0 < 1.3.3-1 | 1.3.3-1 |
| gnupg | libksba | >= 0 < 1.3.4-3 | 1.3.4-3 |
| gnupg | libksba | >= 0 < 1.3.3-1 | 1.3.3-1 |
| gnupg | libksba | >= 0 < 1.3.4-3 | 1.3.4-3 |
| gnupg | libksba | >= 0 < 1.3.0-3ubuntu0.14.04.2 | 1.3.0-3ubuntu0.14.04.2 |
| gnupg | libksba | >= 0 < 1.3.3-1ubuntu0.16.04.1 | 1.3.3-1ubuntu0.16.04.1 |
| opensuse | leap | — | — |
| opensuse | opensuse | — | — |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5LOW
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-mhm6-qhc6-f9f7: The append_utf8_value function in the DN decoder (dn
ghsa_unreviewed·2022-05-13
CVE-2016-4356 [HIGH] CWE-119 GHSA-mhm6-qhc6-f9f7: The append_utf8_value function in the DN decoder (dn
The append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.3 allows remote attackers to cause a denial of service (out-of-bounds read) by clearing the high bit of the byte after invalid utf-8 encoded data.
GHSA
GHSA-986h-5j8j-hgfc: Off-by-one error in the append_utf8_value function in the DN decoder (dn
ghsa_unreviewed·2022-05-13·CVSS 7.5
CVE-2016-4574 [HIGH] GHSA-986h-5j8j-hgfc: Off-by-one error in the append_utf8_value function in the DN decoder (dn
Off-by-one error in the append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.4 allows remote attackers to cause a denial of service (out-of-bounds read) via invalid utf-8 encoded data. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-4356.
OSV
CVE-2016-4356: The append_utf8_value function in the DN decoder (dn
osv·2016-06-13·CVSS 7.5
CVE-2016-4356 [HIGH] CVE-2016-4356: The append_utf8_value function in the DN decoder (dn
The append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.3 allows remote attackers to cause a denial of service (out-of-bounds read) by clearing the high bit of the byte after invalid utf-8 encoded data.
OSV
CVE-2016-4574: Off-by-one error in the append_utf8_value function in the DN decoder (dn
osv·2016-06-13·CVSS 7.5
CVE-2016-4574 [HIGH] CVE-2016-4574: Off-by-one error in the append_utf8_value function in the DN decoder (dn
Off-by-one error in the append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.4 allows remote attackers to cause a denial of service (out-of-bounds read) via invalid utf-8 encoded data. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-4356.
OSV
libksba vulnerabilities
osv·2016-05-17·CVSS 7.5
CVE-2016-4353 [HIGH] libksba vulnerabilities
libksba vulnerabilities
Hanno Böck discovered that Libksba incorrectly handled decoding certain BER
data. An attacker could use this issue to cause Libksba to crash, resulting
in a denial of service. This issue only applied to Ubuntu 12.04 LTS and
Ubuntu 14.04 LTS. (CVE-2016-4353)
Hanno Böck discovered that Libksba incorrectly handled decoding certain BER
data. An attacker could use this issue to cause Libksba to crash, resulting
in a denial of service, or possibly execute arbitrary code. This issue only
applied to Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (CVE-2016-4354,
CVE-2016-4355)
Hanno Böck discovered that Libksba incorrectly handled incorrect utf-8
strings when decoding certain DN data. An attacker could use this issue to
cause Libksba to crash, resulting in a denial of service, or
Ubuntu
Libksba vulnerabilities
vendor_ubuntu·2016-05-17·CVSS 7.5
CVE-2016-4353 [HIGH] Libksba vulnerabilities
Title: Libksba vulnerabilities
Summary: Libksba could be made to crash or run programs if it decoded specially
crafted data.
Hanno Böck discovered that Libksba incorrectly handled decoding certain BER
data. An attacker could use this issue to cause Libksba to crash, resulting
in a denial of service. This issue only applied to Ubuntu 12.04 LTS and
Ubuntu 14.04 LTS. (CVE-2016-4353)
Hanno Böck discovered that Libksba incorrectly handled decoding certain BER
data. An attacker could use this issue to cause Libksba to crash, resulting
in a denial of service, or possibly execute arbitrary code. This issue only
applied to Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (CVE-2016-4354,
CVE-2016-4355)
Hanno Böck discovered that Libksba incorrectly handled incorrect utf-8
strings when decoding certain DN
Red Hat
libksba: Incomplete fix for CVE-2016-4356
vendor_redhat·2016-05-10·CVSS 7.5
CVE-2016-4574 [HIGH] CWE-172 libksba: Incomplete fix for CVE-2016-4356
libksba: Incomplete fix for CVE-2016-4356
Off-by-one error in the append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.4 allows remote attackers to cause a denial of service (out-of-bounds read) via invalid utf-8 encoded data. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-4356.
Package: libksba (Red Hat Enterprise Linux 5) - Will not fix
Package: libksba (Red Hat Enterprise Linux 6) - Will not fix
Package: libksba (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2016-4574: libksba - Off-by-one error in the append_utf8_value function in the DN decoder (dn.c) in L...
vendor_debian·2016·CVSS 7.5
CVE-2016-4574 [HIGH] CVE-2016-4574: libksba - Off-by-one error in the append_utf8_value function in the DN decoder (dn.c) in L...
Off-by-one error in the append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.4 allows remote attackers to cause a denial of service (out-of-bounds read) via invalid utf-8 encoded data. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-4356.
Scope: local
bookworm: resolved (fixed in 1.3.4-3)
bullseye: resolved (fixed in 1.3.4-3)
forky: resolved (fixed in 1.3.4-3)
sid: resolved (fixed in 1.3.4-3)
trixie: resolved (fixed in 1.3.4-3)
Debian
CVE-2016-4356: libksba - The append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.3 ...
vendor_debian·2016·CVSS 7.5
CVE-2016-4356 [HIGH] CVE-2016-4356: libksba - The append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.3 ...
The append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.3 allows remote attackers to cause a denial of service (out-of-bounds read) by clearing the high bit of the byte after invalid utf-8 encoded data.
Scope: local
bookworm: resolved (fixed in 1.3.3-1)
bullseye: resolved (fixed in 1.3.3-1)
forky: resolved (fixed in 1.3.3-1)
sid: resolved (fixed in 1.3.3-1)
trixie: resolved (fixed in 1.3.3-1)
Red Hat
libksba: encoding of invalid utf-8 strings in DN decoder src/dn.c (append_quoted, append_atv)
vendor_redhat·2015-04-08·CVSS 7.5
CVE-2016-4356 [HIGH] CWE-172 libksba: encoding of invalid utf-8 strings in DN decoder src/dn.c (append_quoted, append_atv)
libksba: encoding of invalid utf-8 strings in DN decoder src/dn.c (append_quoted, append_atv)
The append_utf8_value function in the DN decoder (dn.c) in Libksba before 1.3.3 allows remote attackers to cause a denial of service (out-of-bounds read) by clearing the high bit of the byte after invalid utf-8 encoded data.
Package: libksba (Red Hat Enterprise Linux 5) - Will not fix
Package: libksba (Red Hat Enterprise Linux 6) - Will not fix
Package: libksba (Red Hat Enterprise Linux 7) - Will not fix
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-4574 libksba: Incomplete fix for CVE-2016-4356
bugzilla·2016-05-10·CVSS 7.5
CVE-2016-4574 [HIGH] CVE-2016-4574 libksba: Incomplete fix for CVE-2016-4356
CVE-2016-4574 libksba: Incomplete fix for CVE-2016-4356
An incomplete fix for CVE-2016-4356 was reported in libksba. The old fix for the problem from April 2015 had an off-by-one in the bad encoding handing.
Upstream fix:
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git;a=commit;h=6be61daac047d8e6aa941eb103f8e71a1d4e3c75
CVE assignment:
http://seclists.org/oss-sec/2016/q2/300
Discussion:
Created libksba tracking bugs for this issue:
Affects: fedora-all [bug 1334832]
---
libksba-1.3.4-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
---
libksba-1.3.4-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Bugzilla
CVE-2016-4353 CVE-2016-4354 CVE-2016-4355 CVE-2016-4356 libksba: various flaws [fedora-all]
bugzilla·2015-04-13·CVSS 7.5
CVE-2016-4353 [HIGH] CVE-2016-4353 CVE-2016-4354 CVE-2016-4355 CVE-2016-4356 libksba: various flaws [fedora-all]
CVE-2016-4353 CVE-2016-4354 CVE-2016-4355 CVE-2016-4356 libksba: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supporte
Bugzilla
CVE-2016-4356 libksba: encoding of invalid utf-8 strings in DN decoder src/dn.c (append_quoted, append_atv)
bugzilla·2015-04-13·CVSS 7.5
CVE-2016-4356 [HIGH] CVE-2016-4356 libksba: encoding of invalid utf-8 strings in DN decoder src/dn.c (append_quoted, append_atv)
CVE-2016-4356 libksba: encoding of invalid utf-8 strings in DN decoder src/dn.c (append_quoted, append_atv)
Version 1.3.3 of libksba fxes an interger overflow due to incorrect utf-8 strings handling:
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git;a=commit;h=243d12fdec66a4360fbb3e307a046b39b5b4ffc3
Discussion:
Created libksba tracking bugs for this issue:
Affects: fedora-all [bug 1211263]
---
Statement:
Red Hat Product Security has rated this issue as having moderate security impact, a future update may address this flaw in libksba.
---
CVE assignment:
http://seclists.org/oss-sec/2016/q2/172
It also explains the summary change.
---
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):
https://access.redhat.com/security/cv
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git%3Ba=commit%3Bh=243d12fdec66a4360fbb3e307a046b39b5b4ffc3http://www.openwall.com/lists/oss-security/2016/04/29/5http://www.openwall.com/lists/oss-security/2016/04/29/8http://www.openwall.com/lists/oss-security/2016/05/10/3http://www.ubuntu.com/usn/USN-2982-1https://security.gentoo.org/glsa/201604-04http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git%3Ba=commit%3Bh=243d12fdec66a4360fbb3e307a046b39b5b4ffc3http://www.openwall.com/lists/oss-security/2016/04/29/5http://www.openwall.com/lists/oss-security/2016/04/29/8http://www.openwall.com/lists/oss-security/2016/05/10/3http://www.ubuntu.com/usn/USN-2982-1https://security.gentoo.org/glsa/201604-04
2016-06-13
Published