CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021

CVE-2021-43608
Doctrine-project Database Abstraction Layer vulnerability

Doctrine DBAL 3.x before 3.1.4 allows SQL Injection. The escaping of offset and length inputs to the generation of a LIMIT clause was not probably cast to an integer, allowing SQL injection to take place if application developers passed unescaped user input to the DBAL QueryBuilder or any other API that ultimately uses the AbstractPlatform::modifyLimitQuery API.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Database Abstraction Layer. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Doctrine-project Database Abstraction Layer runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.