Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: 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
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-23122
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 00:36 UTC · Revision 1

Source evidence

CVE-2022-23122

core-osv · Original source

Published 28 Mar 2023, 00:00 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:CVE-2022-23122
Complete source record
{
  "id": "646de5bc74230af4ff950a13fe34d7f4ae18cc337e3b6e3864c08c1b6d4dea07",
  "url": "https://osv.dev/vulnerability/CVE-2022-23122",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "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:CVE-2022-23122",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2022-23122",
      "aliases": [
        "CVE-2022-23122"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/netatalk/netatalk",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8965445d8439dbe1b2821b783ae644da3ef600a1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:netatalk:netatalk:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.1.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "netatalk-3-1-12",
            "netatalk-3-1-11",
            "netatalk-3-1-10",
            "netatalk-3-1-9",
            "netatalk-3-1-8",
            "netatalk-3-1-7",
            "netatalk-3-1-6",
            "netatalk-3-1-5",
            "netatalk-3-1-4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23122.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.307576832Z",
      "provider": "osv",
      "references": [
        "https://netatalk.sourceforge.io/3.1/ReleaseNotes3.1.13.html",
        "https://www.kb.cert.org/vuls/id/709991",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23122.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-23122",
        "https://security.gentoo.org/glsa/202311-02",
        "https://www.debian.org/security/2023/dsa-5503",
        "https://www.zerodayinitiative.com/advisories/ZDI-22-529/",
        "https://lists.debian.org/debian-lts-announce/2023/05/msg00018.html"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-121"
        ],
        "cna_assigner": "zdi",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.1.12"
                  },
                  {
                    "last_affected": "3.1.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23122.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-23122",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521020,
  "published_at": "2023-03-28T00:00:00+00:00"
}