CVE-2025-54799

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-54799
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54799.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-54799
Aliases
Downstream
Related
Published
2025-08-07T01:15:26Z
Modified
2025-08-11T18:14:48.847361Z
Summary
[none]
Details

Let's Encrypt client and ACME library written in Go (Lego). In versions 4.25.1 and below, the github.com/go-acme/lego/v4/acme/api package (thus the lego library and the lego cli as well) don't enforce HTTPS when talking to CAs as an ACME client. Unlike the http-01 challenge which solves an ACME challenge over unencrypted HTTP, the ACME protocol requires HTTPS when a client communicates with the CA to performs ACME functions. However, the library fails to enforce HTTPS both in the original discover URL (configured by the library user) and in the subsequent addresses returned by the CAs in the directory and order objects. If users input HTTP URLs or CAs misconfigure endpoints, protocol operations occur over HTTP instead of HTTPS. This compromises privacy by exposing request/response details like account and request identifiers to network attackers. This was fixed in version 4.25.2.

References

Affected packages

Debian:11 / golang-github-xenolf-lego

Package

Name
golang-github-xenolf-lego
Purl
pkg:deb/debian/golang-github-xenolf-lego?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.2.0-3.1

4.*

4.1.3-1
4.1.3-2
4.1.3-3
4.1.3-4
4.1.3-5
4.9.1-1
4.9.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / golang-github-xenolf-lego

Package

Name
golang-github-xenolf-lego
Purl
pkg:deb/debian/golang-github-xenolf-lego?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.9.1-1
4.9.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / golang-github-xenolf-lego

Package

Name
golang-github-xenolf-lego
Purl
pkg:deb/debian/golang-github-xenolf-lego?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.9.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/go-acme/lego

Affected ranges

Type
GIT
Repo
https://github.com/go-acme/lego
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1.0
v0.1.1
v0.2.0
v0.3.0
v0.3.1
v0.4.0
v0.4.1
v0.5.0

v1.*

v1.0.0
v1.0.1
v1.1.0
v1.2.0
v1.2.1

v2.*

v2.0.0
v2.0.1
v2.1.0
v2.2.0
v2.3.0
v2.4.0
v2.5.0
v2.6.0
v2.7.0
v2.7.1
v2.7.2

v3.*

v3.0.0
v3.0.2
v3.1.0
v3.2.0
v3.3.0
v3.4.0
v3.5.0
v3.6.0
v3.7.0
v3.8.0
v3.9.0

v4.*

v4.0.0
v4.0.1
v4.1.0
v4.1.1
v4.1.2
v4.1.3
v4.10.0
v4.10.1
v4.10.2
v4.11.0
v4.12.0
v4.12.1
v4.12.2
v4.12.3
v4.13.0
v4.13.1
v4.13.2
v4.13.3
v4.14.0
v4.14.1
v4.14.2
v4.15.0
v4.16.0
v4.16.1
v4.17.0
v4.17.1
v4.17.2
v4.17.3
v4.17.4
v4.18.0
v4.19.0
v4.19.1
v4.19.2
v4.2.0
v4.20.0
v4.20.1
v4.20.2
v4.20.3
v4.20.4
v4.21.0
v4.22.0
v4.22.1
v4.22.2
v4.23.0
v4.23.1
v4.24.0
v4.25.0
v4.25.1
v4.3.0
v4.3.1
v4.4.0
v4.5.0
v4.5.1
v4.5.2
v4.5.3
v4.6.0
v4.7.0
v4.8.0
v4.9.0
v4.9.1