SCA: security update for github.com/drakkan/sftpgo/v2 (GHSA-54qx-8p8w-xhg8)

high Tenable Cloud Security Plugin ID 410571

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- SFTPGo is configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support. SFTPGo WebAdmin and
WebClient support login using TOTP (Time-based One Time Passwords) as a secondary authentication factor.
Because TOTPs are often configured on mobile devices that can be lost, stolen or damaged, SFTPGo also
supports recovery codes. These are a set of one time use codes that can be used instead of the TOTP. In
SFTPGo versions from version 2.2.0 to 2.3.3 recovery codes can be generated before enabling two-factor
authentication. An attacker who knows the user's password could potentially generate some recovery codes
and then bypass two-factor authentication after it is enabled on the account at a later time. This issue
has been fixed in version 2.3.4. Recovery codes can now only be generated after enabling two-factor
authentication and are deleted after disabling it. (CVE-2022-36071)

See Also

https://github.com/advisories/GHSA-54qx-8p8w-xhg8

Plugin Details

Severity: High

ID: 410571

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.06

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:N

CVSS Score Source: CVE-2022-36071

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/16/2022

Vulnerability Publication Date: 9/2/2022

Reference Information

CVE: CVE-2022-36071