You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/rust/src/nfs
Philippe Antoine c585be338c nfs: fix arbitrary allocation
Bug introduced by https://github.com/OISF/suricata/pull/7111

Nom's count begins by allocating a Vector, which leads to arbitrary
allocation due to flavors_cnt coming from network, and not even
being checked against i.len()

Ticket: #5237
3 years ago
..
log.rs eve/nfs: switch output to jsonbuilder 5 years ago
mod.rs nfs: move v2 parsing into own file 7 years ago
nfs.rs app-layer: more generic state trait 4 years ago
nfs2.rs rust/nfs: convert parser to nom7 functions (NFS v2 records) 4 years ago
nfs2_records.rs nfs2-records: add unittests for nom7 parsers 4 years ago
nfs3.rs nfs3: improve read validation; fix partial handling 4 years ago
nfs3_records.rs nfs3/records: Fix typo 4 years ago
nfs4.rs rust/nfs: convert parser to nom7 functions (NFS v3 and v4 records) 4 years ago
nfs4_records.rs nfs: fix arbitrary allocation 3 years ago
nfs_records.rs nfs: split record parsers into different files 8 years ago
rpc_records.rs rpc: Improve rpc_record struct 4 years ago
types.rs rust/nfs4: Add NFSPROC4_DESTROY_CLIENTID op parsers 4 years ago