Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Prevent read overrun in libkdb_ldap

In berval2tl_data(), reject inputs of length less than 2 to prevent an
integer underflow and subsequent read overrun. (The security impact
is negligible as the attacker would have to control the KDB LDAP
server.)

[ghudson@mit.edu: wrote commit message]

https://github.com/krb5/krb5/commit/2a5fd83d4436583f2ddc0e193269a4d800ee45c4
Author: Sebastián Alba <sebasjosue84@gmail.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 2a5fd83d4436583f2ddc0e193269a4d800ee45c4
Branch: master
src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c | 3 +++
1 file changed, 3 insertions(+)
From: ghudson@mit.edu
Subject: git commit

Prevent read overrun in libkdb_ldap

In berval2tl_data(), reject inputs of length less than 2 to prevent an
integer underflow and subsequent read overrun. (The security impact
is negligible as the attacker would have to control the KDB LDAP
server.)

[ghudson@mit.edu: wrote commit message]

(cherry picked from commit 2a5fd83d4436583f2ddc0e193269a4d800ee45c4)

https://github.com/krb5/krb5/commit/974a8875767a2f375669f84b176c7d98a7c85a20
Author: Sebastián Alba <sebasjosue84@gmail.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 974a8875767a2f375669f84b176c7d98a7c85a20
Branch: krb5-1.22
src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c | 3 +++
1 file changed, 3 insertions(+)