Skip to content

Unbounded argument iteration in parse_argv/parse_env #1055

@rennergade

Description

@rennergade

src/wasmtime/crates/lind-multi-process/src/utils.rs:19-30, 44-58

parse_argv and parse_env loop without limits, potentially walking off the end of linear memory. Should cap at ARG_MAX or validate against memory bounds.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions