Bug 2386975 (CVE-2025-54799) - CVE-2025-54799 github.com/go-acme/lego: Lego: Unenforced HTTPS Communication Vulnerability
Summary: CVE-2025-54799 github.com/go-acme/lego: Lego: Unenforced HTTPS Communication ...
Keywords:
Status: NEW
Alias: CVE-2025-54799
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2387042 2387043
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-07 01:01 UTC by OSIDB Bzimport
Modified: 2025-08-07 12:42 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-08-07 01:01:10 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.