portage-ng / portage / net-ftp / tnftp / 20230507
portage-ng glsa
2 advisories reference net-ftp/tnftp · none place version 20230507 in a vulnerable range
▸ GLSA 201611-05 tnftp: Arbitrary code execution this version unaffected normal remote 2016-11-15

tnftp is vulnerable to remote code execution if output file is not specified.

Announced
2016-11-15
Revised
2016-11-15
Access
remote
Bugs
#527302
Advisory
https://security.gentoo.org/glsa/201611-05

Affected packages

PackageArchVulnerableUnaffected
net-ftp/tnftp*< 20141104>= 20141104

Background

tnftp is a NetBSD FTP client with several advanced features.

Description

The fetch_url function in usr.bin/ftp/fetch.c allows remote attackers to execute arbitrary commands via a

Impact

A remote attacker could possibly execute arbitrary code with the privileges of the process.

Workaround

There is no known workaround at this time.

Resolution

All tnftp users should upgrade to the latest version:

# emerge --sync
# emerge --ask --verbose --oneshot ">=net-ftp/tnftp-20141104"

References

▸ GLSA 200501-24 tnftp: Arbitrary file overwriting this version unaffected normal remote 2005-01-14

tnftp fails to validate filenames when downloading files, making it vulnerable to arbitrary file overwriting.

Announced
2005-01-14
Revised
2005-01-14
Access
remote
Bugs
#74704
Advisory
https://security.gentoo.org/glsa/200501-24

Affected packages

PackageArchVulnerableUnaffected
net-ftp/tnftp*< 20050103>= 20050103

Background

tnftp is a NetBSD FTP client with several advanced features.

Description

The 'mget' function in cmds.c lacks validation of the filenames that are supplied by the server.

Impact

An attacker running an FTP server could supply clients with malicious filenames, potentially allowing the overwriting of arbitrary files with the permission of the connected user.

Workaround

There is no known workaround at this time.

Resolution

All tnftp users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-ftp/tnftp-20050103"

References