ubuntu-cve-2021-40648
Vulnerability from osv_ubuntu
Published
2022-09-09 18:15
Modified
2026-05-20 14:53
Summary
Details

In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next chunk and the fd, bk, fd_nextsize, bk_nextsize of the current chunk. The next chunk is then freed later on, causing a freeing of an arbitrary amount of memory.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "man2html",
            "binary_version": "1.6g-8"
          },
          {
            "binary_name": "man2html-base",
            "binary_version": "1.6g-8"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "man2html",
        "purl": "pkg:deb/ubuntu/man2html@1.6g-8?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6g-7",
        "1.6g-8"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "man2html",
            "binary_version": "1.6g-11"
          },
          {
            "binary_name": "man2html-base",
            "binary_version": "1.6g-11"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "man2html",
        "purl": "pkg:deb/ubuntu/man2html@1.6g-11?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6g-9",
        "1.6g-9ubuntu1",
        "1.6g-11"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "man2html",
            "binary_version": "1.6g-12"
          },
          {
            "binary_name": "man2html-base",
            "binary_version": "1.6g-12"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "man2html",
        "purl": "pkg:deb/ubuntu/man2html@1.6g-12?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6g-12"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "man2html",
            "binary_version": "1.6g-14"
          },
          {
            "binary_name": "man2html-base",
            "binary_version": "1.6g-14"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "man2html",
        "purl": "pkg:deb/ubuntu/man2html@1.6g-14?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6g-14"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "man2html",
            "binary_version": "1.6g-16"
          },
          {
            "binary_name": "man2html-base",
            "binary_version": "1.6g-16"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "man2html",
        "purl": "pkg:deb/ubuntu/man2html@1.6g-16?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6g-14",
        "1.6g-15",
        "1.6g-16"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "man2html",
            "binary_version": "1.6g-16"
          },
          {
            "binary_name": "man2html-base",
            "binary_version": "1.6g-16"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "man2html",
        "purl": "pkg:deb/ubuntu/man2html@1.6g-16?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6g-16"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "man2html",
            "binary_version": "1.6g-16build1"
          },
          {
            "binary_name": "man2html-base",
            "binary_version": "1.6g-16build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "man2html",
        "purl": "pkg:deb/ubuntu/man2html@1.6g-16build1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6g-16",
        "1.6g-16build1"
      ]
    }
  ],
  "aliases": [],
  "details": "In man2html 1.6g, a filename can be created to overwrite the previous size parameter of the next chunk and the fd, bk, fd_nextsize, bk_nextsize of the current chunk. The next chunk is then freed later on, causing a freeing of an arbitrary amount of memory.",
  "id": "UBUNTU-CVE-2021-40648",
  "modified": "2026-05-20T14:53:33Z",
  "published": "2022-09-09T18:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-40648"
    },
    {
      "type": "REPORT",
      "url": "https://gist.github.com/untaman/cb58123fe89fc65e3984165db5d40933"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-40648"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-40648"
  ]
}



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…