# GHSA-27qr-636m-wxg2: codeigniter/framework SQL injection in ODBC database driver

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-15T18:09:41.000Z
- Modified: 2024-11-29T05:35:58.343Z

## Description

CodeIgniter 3.1.0 addressed a critical security issue within the ODBC database driver. This update includes crucial fixes to mitigate a SQL injection vulnerability, preventing potential exploitation by attackers. It is noteworthy that these fixes render the query builder and escape() functions incompatible with the ODBC driver. However, the update introduces actual query binding as a more secure alternative.

(As written by GitHub Advisory Database.)

## Affected

- codeigniter/framework (Packagist): before 3.1.0

## References

- <https://github.com/simplysites/CodeIgniter/commit/3d10ffa77854044570a1809a884776fd4bbd8b70> (web)
- <https://forum.codeigniter.com/thread-65803.html> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/codeigniter/framework/2016-07-26-1.yaml> (web)
- <https://github.com/simplysites/CodeIgniter> (package)

## Sources

- GitHub Advisory Database: [GHSA-27qr-636m-wxg2](https://github.com/advisories/GHSA-27qr-636m-wxg2), CC-BY-4.0, modified 2024-11-29

---

Page: https://cve.day/GHSA-27qr-636m-wxg2 · Whole record: https://cve.day/GHSA-27qr-636m-wxg2.json · Rebuilt by cve.day 2026-11-25T22:56:30.704Z
