ubuntu-cve-2021-44038
Vulnerability from osv_ubuntu
Published
2021-11-19 19:15
Modified
2025-10-24 04:50
Summary
Details

An issue was discovered in Quagga through 1.2.4. Unsafe chown/chmod operations in the suggested spec file allow users (with control of the non-root-owned directory /etc/quagga) to escalate their privileges to root upon package installation or update.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "quagga",
            "binary_version": "0.99.24.1-2ubuntu1.4+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "quagga",
        "purl": "pkg:deb/ubuntu/quagga@0.99.24.1-2ubuntu1.4+esm1?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.99.24.1-2",
        "0.99.24.1-2ubuntu1",
        "0.99.24.1-2ubuntu1.1",
        "0.99.24.1-2ubuntu1.2",
        "0.99.24.1-2ubuntu1.3",
        "0.99.24.1-2ubuntu1.4",
        "0.99.24.1-2ubuntu1.4+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "quagga",
            "binary_version": "1.2.4-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "quagga-bgpd",
            "binary_version": "1.2.4-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "quagga-core",
            "binary_version": "1.2.4-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "quagga-isisd",
            "binary_version": "1.2.4-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "quagga-ospf6d",
            "binary_version": "1.2.4-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "quagga-ospfd",
            "binary_version": "1.2.4-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "quagga-pimd",
            "binary_version": "1.2.4-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "quagga-ripd",
            "binary_version": "1.2.4-1ubuntu0.1~esm2"
          },
          {
            "binary_name": "quagga-ripngd",
            "binary_version": "1.2.4-1ubuntu0.1~esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "quagga",
        "purl": "pkg:deb/ubuntu/quagga@1.2.4-1ubuntu0.1~esm2?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.1.1-3",
        "1.1.1-3ubuntu1",
        "1.2.2-1",
        "1.2.2-1ubuntu1",
        "1.2.4-1",
        "1.2.4-1ubuntu0.1~esm1",
        "1.2.4-1ubuntu0.1~esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "quagga",
            "binary_version": "1.2.4-4ubuntu0.5"
          },
          {
            "binary_name": "quagga-bgpd",
            "binary_version": "1.2.4-4ubuntu0.5"
          },
          {
            "binary_name": "quagga-core",
            "binary_version": "1.2.4-4ubuntu0.5"
          },
          {
            "binary_name": "quagga-isisd",
            "binary_version": "1.2.4-4ubuntu0.5"
          },
          {
            "binary_name": "quagga-ospf6d",
            "binary_version": "1.2.4-4ubuntu0.5"
          },
          {
            "binary_name": "quagga-ospfd",
            "binary_version": "1.2.4-4ubuntu0.5"
          },
          {
            "binary_name": "quagga-pimd",
            "binary_version": "1.2.4-4ubuntu0.5"
          },
          {
            "binary_name": "quagga-ripd",
            "binary_version": "1.2.4-4ubuntu0.5"
          },
          {
            "binary_name": "quagga-ripngd",
            "binary_version": "1.2.4-4ubuntu0.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "quagga",
        "purl": "pkg:deb/ubuntu/quagga@1.2.4-4ubuntu0.5?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.4-4build1",
        "1.2.4-4ubuntu0.1",
        "1.2.4-4ubuntu0.4",
        "1.2.4-4ubuntu0.5"
      ]
    }
  ],
  "aliases": [],
  "details": "An issue was discovered in Quagga through 1.2.4. Unsafe chown/chmod operations in the suggested spec file allow users (with control of the non-root-owned directory /etc/quagga) to escalate their privileges to root upon package installation or update.",
  "id": "UBUNTU-CVE-2021-44038",
  "modified": "2025-10-24T04:50:37Z",
  "published": "2021-11-19T19:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-44038"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/Quagga/quagga/releases"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-44038"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-44038"
  ]
}



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…