1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2026-10-23 21:28:58 +03:00
Georg Richter dd532fcc1c CONC-850: Fix out-of-bounds reads in parse_server_packet (GSSAPI)
Replace strncpy/strnlen parsing in plugins/auth/auth_gssapi_client.c
with bounded memchr/memcpy calls to prevent two security vulnerabilities:

1. Stack Buffer Over-Read: Oversized SPN inputs without a NUL byte caused
   strncpy to omit NUL-termination, leading to OOB reads in strlen().
2. Packet Over-Read: Malformed packets missing a NUL terminator caused
   mechanism parsing to read past the end of the packet buffer.

Thanks to Aisle Research for reporting this issue
2026-09-03 11:54:55 +02:00
2022-06-29 13:27:28 +02:00
2024-09-12 14:21:10 +02:00
2024-10-25 07:38:00 +02:00
2024-09-12 14:21:10 +02:00
2023-09-27 10:19:23 +02:00
2018-02-12 09:29:27 +00:00
2026-07-22 21:23:00 +02:00
2024-09-12 14:21:10 +02:00
2026-07-22 19:56:57 +02:00
2021-06-24 16:44:21 +02:00
2023-02-17 08:28:21 +01:00
2025-01-07 16:57:53 +01:00

This is LGPL MariaDB client library that can be used to connect to a 
MariaDB or MySQL database server. 

This code is based on the LGPL libmysql client library from MySQL 3.23
and PHP's mysqlnd extension.

This product includes PHP software, freely available from
<http://www.php.net/software/>

If you want to be part of this development effort, you can discuss this at
maria-developers@lists.launchpad.org.

To report a bug you'll need to signup for an account at https://jira.mariadb.org

The MariaDB team
Description
No description provided
Readme 16 MiB
Languages
C 95.3%
CMake 3.7%
C++ 0.7%
Shell 0.2%