Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-42098— crypto: ecdh - explicitly zeroize private_key

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在使用ecdh密钥交换协议时,private_key可能被新的密钥覆盖,如果新密钥比旧密钥短,旧密钥的一些材料可能不会被覆盖。

AI Predicted 5.3 Difficulty: Hard EPSS 0.21% · P11

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage

Affected Version Matrix 12

VendorProduct Version RangeStatus
Linux Linux 3c4b23901a0c766879dff680cd6bdab47bcdbbd2< 39173b04abda87872b43c331468a4a14f8f05ce8 affected
3c4b23901a0c766879dff680cd6bdab47bcdbbd2< fd7ef325911eba1b7191b83cb580463242f2090d affected
3c4b23901a0c766879dff680cd6bdab47bcdbbd2< 80575b252ab0358b7e93895b2a510beb3cb3f975 affected
3c4b23901a0c766879dff680cd6bdab47bcdbbd2< d96187eb8e59b572a8e6a68b6a9837a867ea29df affected
3c4b23901a0c766879dff680cd6bdab47bcdbbd2< 73e5984e540a76a2ee1868b91590c922da8c24c9 affected
4.8 affected
< 4.8 unaffected
5.15.162≤ 5.15.* unaffected
… +4 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-42098

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
crypto: ecdh - explicitly zeroize private_key
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: crypto: ecdh - explicitly zeroize private_key private_key is overwritten with the key parameter passed in by the caller (if present), or alternatively a newly generated private key. However, it is possible that the caller provides a key (or the newly generated key) which is shorter than the previous key. In that scenario, some key material from the previous key would not be overwritten. The easiest solution is to explicitly zeroize the entire private_key array first. Note that this patch slightly changes the behavior of this function: previously, if the ecc_gen_privkey failed, the old private_key would remain. Now, the private_key is always zeroized. This behavior is consistent with the case where params.key is set and ecc_is_key_valid fails.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在使用ecdh密钥交换协议时,private_key可能被新的密钥覆盖,如果新密钥比旧密钥短,旧密钥的一些材料可能不会被覆盖。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 3c4b23901a0c766879dff680cd6bdab47bcdbbd2 ~ 39173b04abda87872b43c331468a4a14f8f05ce8 -
Linux Linux 4.8 -

II. Public POCs for CVE-2024-42098

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-42098

请登录查看更多情报信息。

Other References for CVE-2024-42098 (5)

Same Patch Batch · Linux · 2024-07-29 · 121 CVEs total

CVE-2024-41081 9.8 CRITICAL ila: block BH in ila_output()
CVE-2024-41073 9.8 CRITICAL nvme: avoid double free special payload
CVE-2024-41040 9.8 CRITICAL net/sched: Fix UAF when resolving a clash
CVE-2024-41091 8.8 HIGH tun: add missing verification for short frame
CVE-2024-42083 8.8 HIGH ionic: fix kernel panic due to multi-buffer handling
CVE-2024-41062 8.8 HIGH bluetooth/l2cap: sync sock recv cb and release
CVE-2024-41046 8.8 HIGH net: ethernet: lantiq_etop: fix double free in detach
CVE-2024-41090 8.8 HIGH tap: add missing verification for short frame
CVE-2024-41059 7.8 HIGH hfsplus: fix uninit-value in copy_name
CVE-2024-41086 7.8 HIGH bcachefs: Fix sb_field_downgrade validation
CVE-2024-41075 7.8 HIGH cachefiles: add consistency check for copen/cread
CVE-2024-41070 7.8 HIGH KVM: PPC: Book3S HV: Prevent UAF in kvm_spapr_tce_attach_iommu_group()
CVE-2024-41069 7.8 HIGH ASoC: topology: Fix references to freed memory
CVE-2024-41064 7.8 HIGH powerpc/eeh: avoid possible crash when edev->pdev changes
CVE-2024-41015 7.8 HIGH ocfs2: add bounds checking to ocfs2_check_dir_entry()
CVE-2024-41051 7.8 HIGH cachefiles: wait for ondemand_object_worker to finish when dropping object
CVE-2024-41017 7.8 HIGH jfs: don't walk off the end of ealist
CVE-2024-41049 7.8 HIGH filelock: fix potential use-after-free in posix_lock_inode
CVE-2024-41087 7.8 HIGH ata: libata-core: Fix double free on error
CVE-2024-41057 7.8 HIGH cachefiles: fix slab-use-after-free in cachefiles_withdraw_cookie()

Showing top 20 of 121 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-42098

No comments yet


Leave a comment