Skip to content
Heist/ feed
Back to feed
MediumFix available

php-laravel-framework — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-21263

Laravel 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.

Products
php-laravel-framework
Affected versions
Not specified
Fixed versions
6.20.11+dfsg-1
CVEs
CVE-2021-21263
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:20 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-21263

core-osv · Original source

Published 19 Jan 2021, 20:15 UTC

Laravel 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.

osv:DEBIAN-CVE-2021-21263

php-laravel-framework

Fixed versions: 6.20.11+dfsg-1

php-laravel-framework

Fixed versions: 6.20.11+dfsg-1

php-laravel-framework

Fixed versions: 6.20.11+dfsg-1

Complete source record
{
  "id": "945b51d531573749ae7c2d18a15a7332b45ff84850c319c67792db2d1392a1b0",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-21263",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-21263",
    "summary": "Laravel 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.",
    "evidence": "osv:DEBIAN-CVE-2021-21263",
    "products": [
      {
        "name": {
          "value": "php-laravel-framework",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.20.11+dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "php-laravel-framework",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.20.11+dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "php-laravel-framework",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.20.11+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-21263",
      "aliases": [
        "DEBIAN-CVE-2021-21263"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.20.11+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "php-laravel-framework",
            "purl": "pkg:deb/debian/php-laravel-framework?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-21263.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.20.11+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "php-laravel-framework",
            "purl": "pkg:deb/debian/php-laravel-framework?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-21263.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6.20.11+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "php-laravel-framework",
            "purl": "pkg:deb/debian/php-laravel-framework?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-21263.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:11.538366123Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-21263"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-21263"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-21263",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 420752,
  "published_at": "2021-01-19T20:15:13.3+00:00"
}