LiveActive security incident?Get immediate response
CVE Record

CVE-2021-25322: python-HyperKitty: hyperkitty-permissions.sh used during %post allows local privilege escalation from hyperkitty user to root

A UNIX Symbolic Link (Symlink) Following vulnerability in python-HyperKitty of openSUSE Leap 15.2, Factory allows local attackers to escalate privileges from the user hyperkitty or hyperkitty-admin to root. This issue affects: openSUSE Leap 15.2 python-HyperKitty version 1.3.2-lp152.2.3.1 and prior versions. openSUSE Factory python-HyperKitty versions prior to 1.3.4-5.1.

MediumCVSS 6.8Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This flaw affects openSUSE-packaged python-HyperKitty. A local issue in a package post-install permissions script could let someone operating as the hyperkitty or hyperkitty-admin user gain root privileges. It is not a remote internet-facing bug based on the provided sources, but it matters on shared or compromised mail/archive servers.

Executive priority

Treat this as a moderate-priority patching item. It is most urgent for shared systems, mail archive infrastructure, or servers where a lower-privileged compromise could reach the HyperKitty service account. No source provided evidence of active exploitation.

Technical view

CVE-2021-25322 is a CWE-61 symlink-following issue in hyperkitty-permissions.sh during the RPM %post phase. The CVE states local attackers can escalate from hyperkitty or hyperkitty-admin to root on affected openSUSE Leap 15.2 and Factory python-HyperKitty packages.

Likely exposure

Exposure appears limited to openSUSE Leap 15.2 python-HyperKitty 1.3.2-lp152.2.3.1 and earlier, and openSUSE Factory python-HyperKitty before 1.3.4-5.1. The bundle does not identify other distributions, upstream HyperKitty releases, or non-openSUSE packages as affected.

Exploitation context

The source bundle does not show CISA KEV listing or public active exploitation. Exploitation is local, not remote, and the CVE description specifically frames escalation from hyperkitty or hyperkitty-admin to root.

Researcher notes

Evidence is concise and package-specific. The key boundary is local service-account-to-root escalation through symlink following in package post-install permissions handling. The provided bundle does not include exploit details, patch diff, or broader ecosystem impact.

Mitigation direction

  • Apply the relevant openSUSE/SUSE python-HyperKitty security update.
  • For Factory, move to python-HyperKitty 1.3.4-5.1 or later.
  • For Leap 15.2, check SUSE guidance for the fixed package build.
  • Limit access to hyperkitty and hyperkitty-admin accounts until patched.
  • Prioritize systems where untrusted users can gain local shell access.

Validation and detection

  • Inventory openSUSE Leap 15.2 and Factory hosts running python-HyperKitty.
  • Confirm installed python-HyperKitty package versions against affected version ranges.
  • Review whether hyperkitty or hyperkitty-admin accounts are interactive or externally reachable.
  • Verify vendor security updates are installed on affected hosts.
  • Check local audit logs for unusual activity involving those service accounts.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-61: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-25322 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.8 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.8CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N2.54.2Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.8Medium
CVSS 3.1 vector shape for CVE-2021-25322Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
openSUSELeap 15.2python-HyperKittyListed
openSUSEFactorypython-HyperKittyListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-61 · source CWE mapping

UNIX Symbolic Link (Symlink) Following

UNIX Symbolic Link (Symlink) Following represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.