Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-3882

published medium CVSS 3.0 · 5.9

Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in ledgersmb/ledgersmb

Published
14 Oct 2021, 08:20:11 UTC
Updated
03 Aug 2024, 17:09:09 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ledgersmb — ledgersmb/ledgersmb1.8.0 to < unspecified · unspecified through 1.8.21 Affected Not stated @huntrdev
Ubuntu focal ledgersmb Advisory build 1.6.9+ds-1ubuntu0.1+esm1 USN-7647-1
Ubuntu jammy ledgersmb Advisory build 1.6.33+ds-1ubuntu0.1 USN-7647-1
Ubuntu noble ledgersmb Advisory build 1.6.33+ds-2.1ubuntu0.1 USN-7647-1

Description

LedgerSMB does not set the 'Secure' attribute on the session authorization cookie when the client uses HTTPS and the LedgerSMB server is behind a reverse proxy. By tricking a user to use an unencrypted connection (HTTP), an attacker may be able to obtain the authentication data by capturing network traffic. LedgerSMB 1.8 and newer switched from Basic authentication to using cookie authentication with encrypted cookies. Although an attacker can't access the information inside the cookie, nor the password of the user, possession of the cookie is enough to access the application as the user from which the cookie has been obtained. In order for the attacker to obtain the cookie, first of all the server must be configured to respond to unencrypted requests, the attacker must be suitably positioned to eavesdrop on the network traffic between the client and the server *and* the user must be tricked into using unencrypted HTTP traffic. Proper audit control and separation of duties limit Integrity impact of the attack vector. Users of LedgerSMB 1.8 are urged to upgrade to known-fixed versions. Users of LedgerSMB 1.7 or 1.9 are unaffected by this vulnerability and don't need to take action. As a workaround, users may configure their Apache or Nginx reverse proxy to add the Secure attribute at the network boundary instead of relying on LedgerSMB. For Apache, please refer to the 'Header always edit' configuration command in the mod_headers module. For Nginx, please refer to the 'proxy_cookie_flags' configuration command.

en · @huntrdev · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
5.9 / 10
Severity
medium
Provider
@huntrdev · cna
Vector string
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ledgersmb ledgersmb/ledgersmb 1.8.0 to < unspecified (affected · custom)unspecified through 1.8.21 (affected · custom) @huntrdev · cna

Weaknesses

1
  • CWE-614 CWE-614 Sensitive Cookie in HTTPS Session Without 'Secure' Attribute (@huntrdev · cna)

References

3

Provider assertions

2

@huntrdev · cna

Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in ledgersmb/ledgersmb

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
d0b903200893128a0bda5d5ab97cd2989436c7181b300770c744e6530c27fba9
Ingested
23 Sep 2026, 07:55:59 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected