File tree 7 files changed +29
-6
lines changed
7 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
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
+
3
25
## [ 0.2.0] - 2023-08-29
4
26
5
27
### Added
76
98
- Use canonicalized paths for the executed binaries
77
99
- Simplified CLI help to only display supported actions
78
100
101
+ [ 0.2.1 ] : https://github.com/memorysafety/sudo-rs/compare/v0.2.0...v0.2.1
79
102
[ 0.2.0 ] : https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230711...v0.2.0
80
103
[ 0.2.0-dev.20230711 ] : https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230703...v0.2.0-dev.20230711
81
104
[ 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 1
1
[package ]
2
2
name = " sudo-rs"
3
3
description = " A memory safe implementation of sudo and su."
4
- version = " 0.2.0 "
4
+ version = " 0.2.1 "
5
5
license = " Apache-2.0 OR MIT"
6
6
edition = " 2021"
7
7
repository = " https://github.com/memorysafety/sudo-rs"
Original file line number Diff line number Diff line change 1
1
<!-- ---
2
- title: SU(1) sudo-rs 0.2.0 | sudo-rs
2
+ title: SU(1) sudo-rs 0.2.1 | sudo-rs
3
3
--- -->
4
4
5
5
# NAME
Original file line number Diff line number Diff line change 1
1
<!-- ---
2
- title: SUDO(8) sudo-rs 0.2.0 | sudo-rs
2
+ title: SUDO(8) sudo-rs 0.2.1 | sudo-rs
3
3
--- -->
4
4
5
5
# NAME
Original file line number Diff line number Diff line change 1
1
<!-- ---
2
- title: VISUDO(8) sudo-rs 0.2.0 | sudo-rs
2
+ title: VISUDO(8) sudo-rs 0.2.1 | sudo-rs
3
3
--- -->
4
4
5
5
# NAME
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- DATE=" 2023-08-29 "
3
+ DATE=" 2023-09-21 "
4
4
SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd)
5
5
PROJECT_DIR=$( dirname " $SCRIPT_DIR " )
6
6
SUDO_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