{"id":"GHSA-wq8p-mqvg-2p5h","aliases":[],"url":"https://o3.security/vulnerability/GHSA-wq8p-mqvg-2p5h","summary":"laravel framework SQL Injection via limit and offset functions","details":"### Impact\nThose using SQL Server with Laravel and allowing user input to be passed directly to the limit and offset functions are vulnerable to SQL injection. Other database drivers such as MySQL and Postgres are not affected by this vulnerability.\n\n### Patches\nThis problem has been patched on Laravel versions 6.20.26, 7.30.5, and 8.40.0.\n\n### Workarounds\nYou may workaround this vulnerability by ensuring that only integers are passed to the limit and offset functions, as well as the skip and take functions.","published":"2024-05-15T22:20:42Z","modified":"2024-11-29T05:41:40.570199Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"laravel/framework","fixedVersion":"6.20.26"},{"ecosystem":"Packagist","name":"laravel/framework","fixedVersion":"7.30.5"},{"ecosystem":"Packagist","name":"laravel/framework","fixedVersion":"8.40.0"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/laravel/framework/security/advisories/GHSA-4mg9-vhxq-vm7j"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/2021-04-28.yaml"},{"type":"PACKAGE","url":"https://github.com/laravel/framework"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-11-29T05:41:40.570199Z"}}