Skip to content
Heist/ feed
Back to feed
Critical

perm — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2021-38172

perM 0.4.0 has a Buffer Overflow related to strncpy. (Debian initially fixed this in 0.4.0-7.)

Products
perm
Affected versions
0.4.0-1, 0.4.0-3, 0.4.0-4, 0.4.0-4build1, 0.4.0-7, 0.4.0-8, 0.4.0-8build1
Fixed versions
Not specified
CVEs
CVE-2021-38172
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:34 UTC · Revision 1

Source evidence

UBUNTU-CVE-2021-38172

core-osv · Original source

Published 5 Feb 2022, 18:15 UTC

perM 0.4.0 has a Buffer Overflow related to strncpy. (Debian initially fixed this in 0.4.0-7.)

osv:UBUNTU-CVE-2021-38172

perm

Fixed versions: Not specified

perm

Fixed versions: Not specified

perm

Fixed versions: Not specified

perm

Fixed versions: Not specified

perm

Fixed versions: Not specified

perm

Fixed versions: Not specified

perm

Fixed versions: Not specified

perm

Fixed versions: Not specified

Complete source record
{
  "id": "28eea6ed3359923e7234464be66afc1d41f745f9c3f6997b13546ea326b83ce6",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-38172",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2021-38172",
    "summary": "perM 0.4.0 has a Buffer Overflow related to strncpy. (Debian initially fixed this in 0.4.0-7.)",
    "evidence": "osv:UBUNTU-CVE-2021-38172",
    "products": [
      {
        "name": {
          "value": "perm",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "perm",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.0-3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "perm",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.0-4",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.4.0-4build1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "perm",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.0-7",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.4.0-8",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "perm",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.0-8",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "perm",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.0-8",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "perm",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.0-8",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "0.4.0-8build1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "perm",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.0-8",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2021-38172",
      "aliases": [
        "UBUNTU-CVE-2021-38172"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "perm",
            "purl": "pkg:deb/ubuntu/perm?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "0.4.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "perm",
                "binary_version": "0.4.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "perm",
            "purl": "pkg:deb/ubuntu/perm?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "0.4.0-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "perm",
                "binary_version": "0.4.0-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "perm",
            "purl": "pkg:deb/ubuntu/perm?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.4.0-4",
            "0.4.0-4build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "perm",
                "binary_version": "0.4.0-4build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "perm",
            "purl": "pkg:deb/ubuntu/perm?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.4.0-7",
            "0.4.0-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "perm",
                "binary_version": "0.4.0-8"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "perm",
            "purl": "pkg:deb/ubuntu/perm?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.4.0-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "perm",
                "binary_version": "0.4.0-8"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "perm",
            "purl": "pkg:deb/ubuntu/perm?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.4.0-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "perm",
                "binary_version": "0.4.0-8"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "perm",
            "purl": "pkg:deb/ubuntu/perm?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.4.0-8",
            "0.4.0-8build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "perm",
                "binary_version": "0.4.0-8build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "perm",
            "purl": "pkg:deb/ubuntu/perm?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.4.0-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38172.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "perm",
                "binary_version": "0.4.0-8"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:46.866014298Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-38172"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2021-38172",
        "https://lists.debian.org/debian-med/2021/08/msg00016.html",
        "https://tracker.debian.org/pkg/perm",
        "https://salsa.debian.org/med-team/perm/-/commits/master/",
        "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993019",
        "https://packages.qa.debian.org/p/perm.html",
        "https://www.cve.org/CVERecord?id=CVE-2021-38172"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-38172",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354066,
  "published_at": "2022-02-05T18:15:00+00:00"
}