Skip to content
Heist/ feed
Back to feed
CriticalFix available

netatalk — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-23122

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk. Authentication is not required to exploit this vulnerability. The specific flaw exists within the setfilparams function. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-15837.

Products
netatalk
Affected versions
Not specified
Fixed versions
3.1.13~ds-1
CVEs
CVE-2022-23122
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:46 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-23122

core-osv · Original source

Published 28 Mar 2023, 19:15 UTC

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk. Authentication is not required to exploit this vulnerability. The specific flaw exists within the setfilparams function. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-15837.

osv:DEBIAN-CVE-2022-23122

netatalk

Fixed versions: 3.1.13~ds-1

netatalk

Fixed versions: 3.1.13~ds-1

Complete source record
{
  "id": "bc02ef7bb7b8f93eda516ee275b5023fe6e12d2dedd70536b2be5aa138abdc5b",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-23122",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-23122",
    "summary": "This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk. Authentication is not required to exploit this vulnerability. The specific flaw exists within the setfilparams function. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-15837.",
    "evidence": "osv:DEBIAN-CVE-2022-23122",
    "products": [
      {
        "name": {
          "value": "netatalk",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.1.13~ds-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "netatalk",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.1.13~ds-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2022-23122",
      "aliases": [
        "DEBIAN-CVE-2022-23122"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.1.13~ds-1"
                }
              ]
            }
          ],
          "package": {
            "name": "netatalk",
            "purl": "pkg:deb/debian/netatalk?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-23122.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.1.13~ds-1"
                }
              ]
            }
          ],
          "package": {
            "name": "netatalk",
            "purl": "pkg:deb/debian/netatalk?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-23122.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:02:07.163896130Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-23122"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-23122"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-23122",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323267,
  "published_at": "2023-03-28T19:15:10.283+00:00"
}