Canonical snap up to 2.61 AppArmor $HOME/bin permission assignment

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.5$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic has been found in Canonical snap up to 2.61. Impacted is an unknown function of the file $HOME/bin of the component AppArmor Handler. The manipulation leads to permission assignment. This vulnerability is listed as CVE-2024-1724. The attack must be carried out locally. There is no available exploit. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability was found in Canonical snap up to 2.61 and classified as problematic. This issue affects some unknown processing of the file $HOME/bin of the component AppArmor Handler. The manipulation with an unknown input leads to a permission assignment vulnerability. Using CWE to declare the problem leads to CWE-732. The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

In snapd versions prior to 2.62, when using AppArmor for enforcement of sandbox permissions, snapd failed to restrict writes to the $HOME/bin path. In Ubuntu, when this path exists, it is automatically added to the users PATH. An attacker who could convince a user to install a malicious snap which used the 'home' plug could use this vulnerability to install arbitrary scripts into the users PATH which may then be run by the user outside of the expected snap sandbox and hence allow them to escape confinement.

The weakness was presented by Neil Mcphail as aa191f97713de8dc3ce3ac818539f0b976eb8ef6. The advisory is shared at github.com. The identification of this vulnerability is CVE-2024-1724 since 02/21/2024. The exploitation is known to be easy. An attack has to be approached locally. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 239945 (TencentOS Server 4: snapd (TSSA-2025:0174)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 2.62 eliminates this vulnerability. Applying the patch aa191f97713de8dc3ce3ac818539f0b976eb8ef6 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at Tenable (239945). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.6
VulDB Meta Temp Score: 6.5

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.2
NVD Vector: 🔍

CNA Base Score: 6.3
CNA Vector (canonical): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Permission assignment
CWE: CWE-732 / CWE-275 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 239945
Nessus Name: TencentOS Server 4: snapd (TSSA-2025:0174)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: snap 2.62
Patch: aa191f97713de8dc3ce3ac818539f0b976eb8ef6

Timelineinfo

02/21/2024 🔍
07/25/2024 +154 days 🔍
07/25/2024 +0 days 🔍
06/18/2025 +328 days 🔍

Sourcesinfo

Advisory: aa191f97713de8dc3ce3ac818539f0b976eb8ef6
Researcher: Neil Mcphail
Status: Confirmed

CVE: CVE-2024-1724 (🔍)
GCVE (CVE): GCVE-0-2024-1724
GCVE (VulDB): GCVE-100-272453

Entryinfo

Created: 07/25/2024 21:29
Updated: 06/18/2025 03:25
Changes: 07/25/2024 21:29 (69), 07/26/2024 20:01 (1), 08/26/2024 21:25 (12), 06/18/2025 03:25 (2)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!