Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881259 (CVE-2022-45188) - <net-fs/netatalk-3.1.17: remote code execution
Summary: <net-fs/netatalk-3.1.17: remote code execution
Alias: CVE-2022-45188
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal blocker (vote)
Assignee: Gentoo Security
Whiteboard: B0 [glsa+]
Depends on: 915632
  Show dependency tree
Reported: 2022-11-13 23:07 UTC by John Helmert III
Modified: 2023-11-01 14:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-11-13 23:07:55 UTC

Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow resulting in code execution via a crafted .appl file. This provides remote root access on some platforms such as FreeBSD (used for TrueNAS).

These are referenced:

But I don't see any mention of this CVE in any of them, and the 3.1.14
release notes URL is a 404. Not sure what's going on here.
Comment 1 Hans de Graaff gentoo-dev Security 2023-10-04 13:59:24 UTC
This is fixed in 3.1.15:
Comment 2 Larry the Git Cow gentoo-dev 2023-10-04 17:03:09 UTC
The bug has been referenced in the following commit(s):

commit 53b4d537e4b7ebb3ea8a61abfff6fe52d4eadc99
Author:     Hans de Graaff <>
AuthorDate: 2023-10-04 17:02:00 +0000
Commit:     Hans de Graaff <>
CommitDate: 2023-10-04 17:03:05 +0000

    net-fs/netatalk: add 3.1.17
    Signed-off-by: Hans de Graaff <>

 net-fs/netatalk/Manifest                           |   1 +
 .../netatalk-3.1.17-disable-ld-library-path.patch  |  34 ++++
 net-fs/netatalk/files/netatalk-3.1.17-gentoo.patch | 112 ++++++++++++++
 net-fs/netatalk/netatalk-3.1.17.ebuild             | 172 +++++++++++++++++++++
 4 files changed, 319 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2023-11-01 14:47:12 UTC
The bug has been referenced in the following commit(s):

commit c9c5667418b482993cc73092e63caaffa8554c8f
Author:     GLSAMaker <>
AuthorDate: 2023-11-01 14:46:24 +0000
Commit:     Hans de Graaff <>
CommitDate: 2023-11-01 14:46:58 +0000

    [ GLSA 202311-02 ] Netatalk: Multiple Vulnerabilities including root remote code execution
    Signed-off-by: GLSAMaker <>
    Signed-off-by: Hans de Graaff <>

 glsa-202311-02.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)