Advisory

USN-7647-1

Also known as: CVE-2021-3693, CVE-2021-3694, CVE-2021-3731, CVE-2021-3882, CVE-2024-23831

Summary

ledgersmb vulnerabilities

Details

It was discovered that LedgerSMB did not check the origin of HTML
fragments. An attacker could possibly use this issue to send a
maliciously crafted URL to the server and obtain sensitive
information, or execute arbitrary code. This issue only affected
Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 25.04.
(CVE-2021-3693)

It was discovered that LedgerSMB did not properly encode HTML
error messages. An attacker could possibly use this issue to send
a maliciously crafted URL to the server and obtain sensitive
information, or execute arbitrary code. This issue only affected
Ubuntu 18.04 LTS. (CVE-2021-3694)

It was discovered that LedgerSMB did not guard against discrete
link redirections. An attacker could possibly use this issue to
obtain sensitive information. This issue only affected Ubuntu
16.04 LTS and Ubuntu 18.04 LTS. (CVE-2021-3731)

It was discovered that LedgerSMB did not properly set the 'Secure'
attribute during HTTPS sessions. If a user were tricked into using
an unencrypted connection, an attacker could possibly use this
issue to obtain sensitive information. This issue only affected
Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu
25.04. (CVE-2021-3882)

It was discovered that LedgerSMB could create admin accounts via
a URL. If an admin were tricked into clicking a maliciously
crafted URL, an attacker could possibly use this issue to
achieve privilege escalation. This issue only affected Ubuntu 20.04
LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 25.04.
(CVE-2024-23831)

Severity

Not rated by the source.

Dates

Published
2025-07-17 14:39 UTC
Modified
2026-06-25 13:32 UTC

Affected packages and fixes

ledgersmb

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.6.33+ds-1ubuntu0.1 (ecosystem)

Fixed versions

1.6.33+ds-1ubuntu0.1

Fix

  • Fixed version 1.6.33+ds-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ledgersmb

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.6.33+ds-2.1ubuntu0.1 (ecosystem)

Fixed versions

1.6.33+ds-2.1ubuntu0.1

Fix

  • Fixed version 1.6.33+ds-2.1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences