USN-9421-1 (UBUNTU-CVE-2020-25626)

Vulnerability from osv_ubuntu – Published: 2026-12-02 19:32 – Updated: 2026-12-02 19:32 – Source website
VLAI
Summary
djangorestframework vulnerabilities
Details

It was discovered that Django REST framework did not properly escape certain strings in its browsable API viewer. A remote attacker could possibly use this issue to perform cross-site scripting attacks. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2020-25626)

It was discovered that Django REST framework did not properly handle character encodings specified in JSON requests. A remote attacker could possibly use this issue to cause Django REST framework to use excessive resources, leading to a denial of service. (CVE-2026-114136)

It was discovered that Django REST framework did not properly revoke authentication tokens in certain cases. Tokens that were believed to be revoked could continue to be used, and an attacker could possibly use this issue to retain unauthorized access. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-114137)

It was discovered that Django REST framework did not properly limit the amount of content negotiation data it processed. A remote attacker could possibly use this issue to cause Django REST framework to use excessive resources, leading to a denial of service. (CVE-2026-114138)

Impacted products
Ecosystem Package Version
Ubuntu:Pro:16.04:LTS djangorestframework
pkg:deb/ubuntu/djangorestframework@3.3.2-2ubuntu0.1~esm1?arch=source&distro=esm-apps-legacy/xenial
Affected: < 3.3.2-2ubuntu0.1~esm1 (ecosystem)
2.4.3-23.3.1-13.3.2-13.3.2-2
Ubuntu:Pro:18.04:LTS djangorestframework
pkg:deb/ubuntu/djangorestframework@3.7.7-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic
Affected: < 3.7.7-1ubuntu0.1~esm1 (ecosystem)
3.4.0-23.7.7-1
Ubuntu:Pro:20.04:LTS djangorestframework
pkg:deb/ubuntu/djangorestframework@3.10.2-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal
Affected: < 3.10.2-1ubuntu0.1~esm1 (ecosystem)
3.9.0-23.10.2-1
Ubuntu:Pro:22.04:LTS djangorestframework
pkg:deb/ubuntu/djangorestframework@3.12.4-2.1ubuntu1+esm1?arch=source&distro=esm-apps/jammy
Affected: < 3.12.4-2.1ubuntu1+esm1 (ecosystem)
3.12.1-13.12.4-13.12.4-23.12.4-2ubuntu13.12.4-2.1ubuntu1
Ubuntu:Pro:24.04:LTS djangorestframework
pkg:deb/ubuntu/djangorestframework@3.14.0-2ubuntu0.1~esm1?arch=source&distro=esm-apps/noble
Affected: < 3.14.0-2ubuntu0.1~esm1 (ecosystem)
3.14.0-2
Ubuntu:Pro:26.04:LTS djangorestframework
pkg:deb/ubuntu/djangorestframework@3.16.1-3ubuntu0.1~esm1?arch=source&distro=esm-apps/resolute
Affected: < 3.16.1-3ubuntu0.1~esm1 (ecosystem)
3.16.1-13.16.1-3

{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2020-25626",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                  "source": "NVD",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-114136",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-114138",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:16.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "python-djangorestframework",
            "binary_version": "3.3.2-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "python3-djangorestframework",
            "binary_version": "3.3.2-2ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "djangorestframework",
        "purl": "pkg:deb/ubuntu/djangorestframework@3.3.2-2ubuntu0.1~esm1?arch=source\u0026distro=esm-apps-legacy/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.3.2-2ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.4.3-2",
        "3.3.1-1",
        "3.3.2-1",
        "3.3.2-2"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2020-25626",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                  "source": "NVD",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-114136",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-114138",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "python-djangorestframework",
            "binary_version": "3.7.7-1ubuntu0.1~esm1"
          },
          {
            "binary_name": "python3-djangorestframework",
            "binary_version": "3.7.7-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "djangorestframework",
        "purl": "pkg:deb/ubuntu/djangorestframework@3.7.7-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.7.7-1ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.4.0-2",
        "3.7.7-1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2020-25626",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                  "source": "NVD",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-114136",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-114138",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "python3-djangorestframework",
            "binary_version": "3.10.2-1ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "djangorestframework",
        "purl": "pkg:deb/ubuntu/djangorestframework@3.10.2-1ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.10.2-1ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.9.0-2",
        "3.10.2-1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-114136",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-114137",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-114138",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "python3-djangorestframework",
            "binary_version": "3.12.4-2.1ubuntu1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "djangorestframework",
        "purl": "pkg:deb/ubuntu/djangorestframework@3.12.4-2.1ubuntu1+esm1?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.12.4-2.1ubuntu1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.12.1-1",
        "3.12.4-1",
        "3.12.4-2",
        "3.12.4-2ubuntu1",
        "3.12.4-2.1ubuntu1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-114136",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-114137",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-114138",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "python3-djangorestframework",
            "binary_version": "3.14.0-2ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:24.04:LTS",
        "name": "djangorestframework",
        "purl": "pkg:deb/ubuntu/djangorestframework@3.14.0-2ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.14.0-2ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.14.0-2"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-114136",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-114137",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-114138",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "source": "CNA",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "source": "SELF",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:26.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "python3-djangorestframework",
            "binary_version": "3.16.1-3ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:26.04:LTS",
        "name": "djangorestframework",
        "purl": "pkg:deb/ubuntu/djangorestframework@3.16.1-3ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.16.1-3ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.16.1-1",
        "3.16.1-3"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that Django REST framework did not properly escape\ncertain strings in its browsable API viewer. A remote attacker could\npossibly use this issue to perform cross-site scripting attacks. This issue\nonly affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS.\n(CVE-2020-25626)\n\nIt was discovered that Django REST framework did not properly handle\ncharacter encodings specified in JSON requests. A remote attacker could\npossibly use this issue to cause Django REST framework to use excessive\nresources, leading to a denial of service. (CVE-2026-114136)\n\nIt was discovered that Django REST framework did not properly revoke\nauthentication tokens in certain cases. Tokens that were believed to be\nrevoked could continue to be used, and an attacker could possibly use this\nissue to retain unauthorized access. This issue only affected Ubuntu 22.04\nLTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-114137)\n\nIt was discovered that Django REST framework did not properly limit the\namount of content negotiation data it processed. A remote attacker could\npossibly use this issue to cause Django REST framework to use excessive\nresources, leading to a denial of service. (CVE-2026-114138)",
  "id": "USN-9421-1",
  "modified": "2026-12-02T19:32:25Z",
  "published": "2026-12-02T19:32:25Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-9421-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-25626"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-114136"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-114137"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-114138"
    }
  ],
  "related": [],
  "schema_version": "1.9.2",
  "summary": "djangorestframework vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2020-25626",
    "UBUNTU-CVE-2026-114136",
    "UBUNTU-CVE-2026-114137",
    "UBUNTU-CVE-2026-114138"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.