---
title: "CVE-2020-35239\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2020-35239?format=md
keywords: index, follow
---

# CVE-2020-35239

Publication date 26 January 2021

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2020-35239?format=md#impact-score)

Toggle side navigation

## Description

A vulnerability exists in CakePHP versions 4.0.x through 4.1.3. The
CsrfProtectionMiddleware component allows method override parameters to
bypass CSRF checks by changing the HTTP request method to an arbitrary
string that is not in the list of request methods that CakePHP checks.
Additionally, the route middleware does not verify that this overriden
method (which can be an arbitrary string) is actually an HTTP method.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| cakephp | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 25.04 plucky | Not in release |
| 24.10 oracular | Not in release |
| 24.04 LTS noble | Not in release |
| 23.10 mantic | Not in release |
| 23.04 lunar | Not in release |
| 22.10 kinetic | Ignored end of life, was needs-triage |
| 22.04 LTS jammy | Needs evaluation |
| 21.10 impish | Ignored end of life |
| 21.04 hirsute | Ignored end of life |
| 20.10 groovy | Ignored end of life |
| 20.04 LTS focal | Needs evaluation |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Needs evaluation |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-35239)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2020-35239)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2020-35239)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2020-35239)

### Other references

* <https://github.com/cakephp/cakephp/commit/d2da5346a6cddab284f8cf94e38f90d897595fe8 (4.0.10)>
* <https://bakery.cakephp.org/2020/12/07/cakephp_4010_released.html>
* <https://www.cve.org/CVERecord?id=CVE-2020-35239>
