Skip to content

Commit 195d6f8

Browse files
committed
Release 0.2.1
1 parent bfdbda2 commit 195d6f8

File tree

7 files changed

+29
-6
lines changed

7 files changed

+29
-6
lines changed

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
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
@@ -76,6 +98,7 @@
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

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "sudo-rs"
33
description = "A memory safe implementation of sudo and su."
4-
version = "0.2.0"
4+
version = "0.2.1"
55
license = "Apache-2.0 OR MIT"
66
edition = "2021"
77
repository = "https://github.com/memorysafety/sudo-rs"

docs/man/su.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

docs/man/sudo.8.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

docs/man/visudo.8.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

util/build-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
DATE="2023-08-29"
3+
DATE="2023-09-21"
44
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd)
55
PROJECT_DIR=$(dirname "$SCRIPT_DIR")
66
SUDO_RS_VERSION="$(cargo metadata --format-version 1 --manifest-path "$PROJECT_DIR/Cargo.toml" | jq '.packages[] | select(.name=="sudo-rs") | .version' -r)"

0 commit comments

Comments
 (0)