File tree Expand file tree Collapse file tree 7 files changed +29
-6
lines changed
Expand file tree Collapse file tree 7 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 0.2.1] - 2023-09-21
4+
5+ ### Changed
6+ - Session records/timestamps are now stored in files with uids instead of
7+ usernames, fixing a security bug (CVE-2023 -42456)
8+ - ` visudo ` will now resolve ` EDITOR ` via ` PATH `
9+ - Input/output errors while writing text to the terminal no longer cause sudo to
10+ exit immediately
11+ - Switched several internal API calls from libc to Rust's std library
12+ - The ` %h ` escape sequence in sudoers includes directives is not supported in
13+ sudo-rs, this now gives a better diagnostic and no longer tries to include the
14+ file
15+ - Our PAM integration was hardened against allocation failures
16+ - An attempt was made to harden against rowhammer type attacks
17+ - Release builds no longer include debugging symbols
18+
19+ ### Fixed
20+ - Fixed an invalid parsing when an escaped null byte was present in the sudoers
21+ file
22+ - Replaced informal error message in ` visudo ` with a proper error message
23+
24+
325## [ 0.2.0] - 2023-08-29
426
527### Added
7698- Use canonicalized paths for the executed binaries
7799- Simplified CLI help to only display supported actions
78100
101+ [ 0.2.1 ] : https://github.com/memorysafety/sudo-rs/compare/v0.2.0...v0.2.1
79102[ 0.2.0 ] : https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230711...v0.2.0
80103[ 0.2.0-dev.20230711 ] : https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230703...v0.2.0-dev.20230711
81104[ 0.2.0-dev.20230703 ] : https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230627...v0.2.0-dev.20230703
Original file line number Diff line number Diff line change 11[package ]
22name = " sudo-rs"
33description = " A memory safe implementation of sudo and su."
4- version = " 0.2.0 "
4+ version = " 0.2.1 "
55license = " Apache-2.0 OR MIT"
66edition = " 2021"
77repository = " https://github.com/memorysafety/sudo-rs"
Original file line number Diff line number Diff line change 11<!-- ---
2- title: SU(1) sudo-rs 0.2.0 | sudo-rs
2+ title: SU(1) sudo-rs 0.2.1 | sudo-rs
33--- -->
44
55# NAME
Original file line number Diff line number Diff line change 11<!-- ---
2- title: SUDO(8) sudo-rs 0.2.0 | sudo-rs
2+ title: SUDO(8) sudo-rs 0.2.1 | sudo-rs
33--- -->
44
55# NAME
Original file line number Diff line number Diff line change 11<!-- ---
2- title: VISUDO(8) sudo-rs 0.2.0 | sudo-rs
2+ title: VISUDO(8) sudo-rs 0.2.1 | sudo-rs
33--- -->
44
55# NAME
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- DATE=" 2023-08-29 "
3+ DATE=" 2023-09-21 "
44SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd)
55PROJECT_DIR=$( dirname " $SCRIPT_DIR " )
66SUDO_RS_VERSION=" $( cargo metadata --format-version 1 --manifest-path " $PROJECT_DIR /Cargo.toml" | jq ' .packages[] | select(.name=="sudo-rs") | .version' -r) "
You can’t perform that action at this time.
0 commit comments