ubuntu-cve-2021-45327
Vulnerability from osv_ubuntu
Published
2022-02-08 15:15
Modified
2025-10-24 04:50
Summary
Details

Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. which could let a remote malisious user execute arbitrary code.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-code.gitea-git-dev",
            "binary_version": "0.0~git20171222.4ec3654-3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "golang-code.gitea-git",
        "purl": "pkg:deb/ubuntu/golang-code.gitea-git@0.0~git20171222.4ec3654-3?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.0~git20170710.0.fc63966-1",
        "0.0~git20170919.0.cdb43f0-1",
        "0.0~git20171222.4ec3654-1",
        "0.0~git20171222.4ec3654-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-code.gitea-sdk-dev",
            "binary_version": "0.0~git20171220.79eee8f-3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "golang-code.gitea-sdk",
        "purl": "pkg:deb/ubuntu/golang-code.gitea-sdk@0.0~git20171220.79eee8f-3?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.0~git20170708.0.9990008-1",
        "0.0~git20170920.0.60c6048-1",
        "0.0~git20171220.79eee8f-1",
        "0.0~git20171220.79eee8f-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-code.gitea-git-dev",
            "binary_version": "0.0~git20171222.4ec3654-3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "golang-code.gitea-git",
        "purl": "pkg:deb/ubuntu/golang-code.gitea-git@0.0~git20171222.4ec3654-3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.0~git20171222.4ec3654-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-code.gitea-sdk-dev",
            "binary_version": "0.0~git20171220.79eee8f-3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "golang-code.gitea-sdk",
        "purl": "pkg:deb/ubuntu/golang-code.gitea-sdk@0.0~git20171220.79eee8f-3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.0~git20171220.79eee8f-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-code.gitea-git-dev",
            "binary_version": "0.0~git20190411.63b74d4+ds-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "golang-code.gitea-git",
        "purl": "pkg:deb/ubuntu/golang-code.gitea-git@0.0~git20190411.63b74d4+ds-1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.0~git20190411.63b74d4+ds-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-code.gitea-sdk-dev",
            "binary_version": "0.0~git20171220.79eee8f-3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "golang-code.gitea-sdk",
        "purl": "pkg:deb/ubuntu/golang-code.gitea-sdk@0.0~git20171220.79eee8f-3?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.0~git20171220.79eee8f-3"
      ]
    }
  ],
  "aliases": [],
  "details": "Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. which could let a remote malisious user execute arbitrary code.",
  "id": "UBUNTU-CVE-2021-45327",
  "modified": "2025-10-24T04:50:38Z",
  "published": "2022-02-08T15:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-45327"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/go-gitea/gitea/pull/10465"
    },
    {
      "type": "REPORT",
      "url": "https://blog.gitea.io/2020/03/gitea-1.11.2-is-released/"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/go-gitea/gitea/pull/10582"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/go-gitea/gitea/pull/10462"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-45327"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-45327"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…