Skip to content

Commit ef6221c

Browse files
Macdjc
authored andcommitted
add-rustsec-for-mnl
1 parent 5c34a96 commit ef6221c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

crates/mnl/RUSTSEC-0000-0000.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
```toml
2+
[advisory]
3+
id = "RUSTSEC-0000-0000"
4+
package = "mnl"
5+
date = "2025-10-18"
6+
url = "https://github.com/mullvad/mnl-rs/issues/15"
7+
categories = ["memory-corruption"]
8+
9+
[versions]
10+
patched = []
11+
```
12+
13+
# Segmentation fault and invalid memory read in `mnl::cb_run`
14+
15+
The function `mnl::cb_run` is marked as safe but exhibits unsound behavior when processing malformed Netlink message buffers.
16+
17+
Passing a crafted byte slice to `mnl::cb_run` can trigger memory violations. The function does not sufficiently validate the input buffer structure before processing, leading to out-of-bounds reads.
18+
19+
This vulnerability allows an attacker to cause a Denial of Service (segmentation fault) or potentially read unmapped memory by providing a malformed Netlink message.

0 commit comments

Comments
 (0)