{"url":"http://public2.vulnerablecode.io/api/packages/198736?format=json","purl":"pkg:composer/illuminate/database@4.1.22","type":"composer","namespace":"illuminate","name":"database","version":"4.1.22","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"6.20.26","latest_non_vulnerable_version":"8.40.0","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/54866?format=json","vulnerability_id":"VCID-6t5m-p3f7-j3e6","summary":"Laravel Risk of mass-assignment vulnerabilities\nLaravel 4.1.29 improves the column quoting for all database drivers. This protects your application from some mass assignment vulnerabilities when not using the fillable property on models. If you are using the fillable property on your models to protect against mass assignment, your application is not vulnerable. However, if you are using guarded and are passing a user controlled array into an \"update\" or \"save\" type function, you should upgrade to 4.1.29 immediately as your application may be at risk of mass assignment.","references":[{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/database/2014-05-20.yaml","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/database/2014-05-20.yaml"},{"reference_url":"https://github.com/illuminate/database","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/illuminate/database"},{"reference_url":"https://laravel.com/docs/5.1/upgrade#upgrade-4.1.29","reference_id":"","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://laravel.com/docs/5.1/upgrade#upgrade-4.1.29"},{"reference_url":"https://github.com/advisories/GHSA-cc2w-ghc5-m5qr","reference_id":"GHSA-cc2w-ghc5-m5qr","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-cc2w-ghc5-m5qr"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/51875?format=json","purl":"pkg:composer/illuminate/database@4.1.29","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-96p3-hbxp-duaz"},{"vulnerability":"VCID-wptp-4xv5-43du"},{"vulnerability":"VCID-zj39-eevs-kug3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/database@4.1.29"}],"aliases":["GHSA-cc2w-ghc5-m5qr"],"risk_score":3.1,"exploitability":"0.5","weighted_severity":"6.2","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-6t5m-p3f7-j3e6"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/53961?format=json","vulnerability_id":"VCID-96p3-hbxp-duaz","summary":"Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')\nLaravel is a web application framework. Versions of Laravel before 6.20.11, 7.30.2 and 8.22.1 contain a query binding exploitation. This same exploit applies to the illuminate/database package which is used by Laravel. If a request is crafted where a field that is normally a non-array value is an array, and that input is not validated or cast to its expected type before being passed to the query builder, an unexpected number of query bindings can be added to the query. In some situations, this will simply lead to no results being returned by the query builder; however, it is possible certain queries could be affected in a way that causes the query to return unexpected results.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2021-21263","reference_id":"","reference_type":"","scores":[{"value":"0.01139","scoring_system":"epss","scoring_elements":"0.78748","published_at":"2026-06-04T12:55:00Z"},{"value":"0.01139","scoring_system":"epss","scoring_elements":"0.78761","published_at":"2026-06-08T12:55:00Z"},{"value":"0.01139","scoring_system":"epss","scoring_elements":"0.78771","published_at":"2026-06-07T12:55:00Z"},{"value":"0.01139","scoring_system":"epss","scoring_elements":"0.78781","published_at":"2026-06-06T12:55:00Z"},{"value":"0.01139","scoring_system":"epss","scoring_elements":"0.78774","published_at":"2026-06-05T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2021-21263"},{"reference_url":"https://blog.laravel.com/security-laravel-62011-7302-8221-released","reference_id":"","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://blog.laravel.com/security-laravel-62011-7302-8221-released"},{"reference_url":"https://blog.laravel.com/security-laravel-62012-7303-released","reference_id":"","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://blog.laravel.com/security-laravel-62012-7303-released"},{"reference_url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21263","reference_id":"","reference_type":"","scores":[],"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21263"},{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/database/CVE-2021-21263.yaml","reference_id":"","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/database/CVE-2021-21263.yaml"},{"reference_url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2021-21263.yaml","reference_id":"","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2021-21263.yaml"},{"reference_url":"https://github.com/laravel/framework/pull/35865","reference_id":"","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/laravel/framework/pull/35865"},{"reference_url":"https://packagist.org/packages/illuminate/database","reference_id":"","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://packagist.org/packages/illuminate/database"},{"reference_url":"https://packagist.org/packages/laravel/framework","reference_id":"","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://packagist.org/packages/laravel/framework"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980095","reference_id":"980095","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980095"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21263","reference_id":"CVE-2021-21263","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21263"},{"reference_url":"https://github.com/advisories/GHSA-3p32-j457-pg5x","reference_id":"GHSA-3p32-j457-pg5x","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-3p32-j457-pg5x"},{"reference_url":"https://github.com/laravel/framework/security/advisories/GHSA-3p32-j457-pg5x","reference_id":"GHSA-3p32-j457-pg5x","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/laravel/framework/security/advisories/GHSA-3p32-j457-pg5x"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/79572?format=json","purl":"pkg:composer/illuminate/database@6.20.12","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-wptp-4xv5-43du"},{"vulnerability":"VCID-zj39-eevs-kug3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/database@6.20.12"},{"url":"http://public2.vulnerablecode.io/api/packages/79573?format=json","purl":"pkg:composer/illuminate/database@7.30.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-wptp-4xv5-43du"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/database@7.30.3"},{"url":"http://public2.vulnerablecode.io/api/packages/79574?format=json","purl":"pkg:composer/illuminate/database@8.22.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-wptp-4xv5-43du"},{"vulnerability":"VCID-zj39-eevs-kug3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/database@8.22.1"}],"aliases":["CVE-2021-21263","GHSA-3p32-j457-pg5x"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-96p3-hbxp-duaz"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/37695?format=json","vulnerability_id":"VCID-hxn7-smuc-d7ch","summary":"Improperly Controlled Modification of Dynamically-Determined Object Attributes\nRisk of mass-assignment vulnerabilities.","references":[{"reference_url":"https://laravel.com/docs/5.1/upgrade#upgrade-4.1.29","reference_id":"","reference_type":"","scores":[],"url":"https://laravel.com/docs/5.1/upgrade#upgrade-4.1.29"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/51875?format=json","purl":"pkg:composer/illuminate/database@4.1.29","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-96p3-hbxp-duaz"},{"vulnerability":"VCID-wptp-4xv5-43du"},{"vulnerability":"VCID-zj39-eevs-kug3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/database@4.1.29"},{"url":"http://public2.vulnerablecode.io/api/packages/198743?format=json","purl":"pkg:composer/illuminate/database@4.2.0-BETA1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-96p3-hbxp-duaz"},{"vulnerability":"VCID-wptp-4xv5-43du"},{"vulnerability":"VCID-zj39-eevs-kug3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/database@4.2.0-BETA1"}],"aliases":["GMS-2014-40"],"risk_score":null,"exploitability":"0.5","weighted_severity":"0.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-hxn7-smuc-d7ch"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/54021?format=json","vulnerability_id":"VCID-wptp-4xv5-43du","summary":"Unexpected database bindings\nThis is a follow-up to the previous security advisory (GHSA-3p32-j457-pg5x) which addresses a few additional edge cases.\n\nIf a request is crafted where a field that is normally a non-array value is an array, and that input is not validated or cast to its expected type before being passed to the query builder, an unexpected number of query bindings can be added to the query. In some situations, this will simply lead to no results being returned by the query builder; however, it is possible certain queries could be affected in a way that causes the query to return unexpected results.","references":[{"reference_url":"https://packagist.org/packages/illuminate/database","reference_id":"","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://packagist.org/packages/illuminate/database"},{"reference_url":"https://packagist.org/packages/laravel/framework","reference_id":"","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://packagist.org/packages/laravel/framework"},{"reference_url":"https://github.com/advisories/GHSA-3p32-j457-pg5x","reference_id":"GHSA-3p32-j457-pg5x","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-3p32-j457-pg5x"},{"reference_url":"https://github.com/advisories/GHSA-x7p5-p2c9-phvg","reference_id":"GHSA-x7p5-p2c9-phvg","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-x7p5-p2c9-phvg"},{"reference_url":"https://github.com/laravel/framework/security/advisories/GHSA-x7p5-p2c9-phvg","reference_id":"GHSA-x7p5-p2c9-phvg","reference_type":"","scores":[{"value":"7.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/laravel/framework/security/advisories/GHSA-x7p5-p2c9-phvg"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/79682?format=json","purl":"pkg:composer/illuminate/database@6.20.14","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-zj39-eevs-kug3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/database@6.20.14"},{"url":"http://public2.vulnerablecode.io/api/packages/79683?format=json","purl":"pkg:composer/illuminate/database@7.30.4","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/database@7.30.4"},{"url":"http://public2.vulnerablecode.io/api/packages/79684?format=json","purl":"pkg:composer/illuminate/database@8.24.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-zj39-eevs-kug3"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/database@8.24.0"}],"aliases":["GHSA-x7p5-p2c9-phvg","GMS-2021-114","GMS-2021-116"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-wptp-4xv5-43du"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/54419?format=json","vulnerability_id":"VCID-zj39-eevs-kug3","summary":"SQL Server LIMIT / OFFSET SQL Injection in laravel/framework and illuminate/database\n### Impact\n\nThose using SQL Server with Laravel and allowing user input to be passed directly to the `limit` and `offset` functions is vulnerable to SQL injection. Other database drivers such as MySQL and Postgres are not affected by this vulnerability.\n\n### Patches\n\nThis problem has been patched on Laravel versions 6.20.26, 7.30.5, and 8.40.0.\n\n### Workarounds\n\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.","references":[{"reference_url":"https://github.com/laravel/framework","reference_id":"","reference_type":"","scores":[{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/laravel/framework"},{"reference_url":"https://packagist.org/packages/illuminate/database","reference_id":"","reference_type":"","scores":[{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://packagist.org/packages/illuminate/database"},{"reference_url":"https://packagist.org/packages/laravel/framework","reference_id":"","reference_type":"","scores":[{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://packagist.org/packages/laravel/framework"},{"reference_url":"https://github.com/advisories/GHSA-4mg9-vhxq-vm7j","reference_id":"GHSA-4mg9-vhxq-vm7j","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-4mg9-vhxq-vm7j"},{"reference_url":"https://github.com/laravel/framework/security/advisories/GHSA-4mg9-vhxq-vm7j","reference_id":"GHSA-4mg9-vhxq-vm7j","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/laravel/framework/security/advisories/GHSA-4mg9-vhxq-vm7j"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/80565?format=json","purl":"pkg:composer/illuminate/database@6.20.26","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/database@6.20.26"},{"url":"http://public2.vulnerablecode.io/api/packages/80566?format=json","purl":"pkg:composer/illuminate/database@8.40.0","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/database@8.40.0"}],"aliases":["GHSA-4mg9-vhxq-vm7j","GMS-2021-113","GMS-2021-115"],"risk_score":4.0,"exploitability":"0.5","weighted_severity":"8.0","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-zj39-eevs-kug3"}],"fixing_vulnerabilities":[],"risk_score":"4.0","resource_url":"http://public2.vulnerablecode.io/packages/pkg:composer/illuminate/database@4.1.22"}