---
title: "GHSA-27qr-636m-wxg2: codeigniter/framework SQL injection in ODBC database driver"
url: https://erroneo.us/security/ghsa/GHSA-27qr-636m-wxg2/
description: "GHSA-27qr-636m-wxg2 (critical, Composer (PHP)): codeigniter/framework SQL injection in ODBC database driver. CodeIgniter 3.1.0 addressed a critical security…"
type: advisory
section: "Security Digest"
date_published: 2024-05-15
date_modified: 2024-05-15
publisher: erroneo.us
author: erroneo.us Security Desk
ghsa: "GHSA-27qr-636m-wxg2"
license: All rights reserved. Quote with attribution and a link.
---

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

## Affected packages

- Composer (PHP) `codeigniter/framework` < 3.1.0 → fixed: 3.1.0

## Details

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.

## Sources

- [GitHub Advisory GHSA-27qr-636m-wxg2](https://github.com/advisories/GHSA-27qr-636m-wxg2)
- [github.com](https://github.com/simplysites/CodeIgniter/commit/3d10ffa77854044570a1809a884776fd4bbd8b70)
- [forum.codeigniter.com](https://forum.codeigniter.com/thread-65803.html)
- [github.com](https://github.com/FriendsOfPHP/security-advisories/blob/master/codeigniter/framework/2016-07-26-1.yaml)

---
Source page: https://erroneo.us/security/ghsa/GHSA-27qr-636m-wxg2/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
