Skip to content

Commit fe184fd

Browse files
committed
cups-filters 2.0rc2 Release
1 parent 8f27403 commit fe184fd

File tree

4 files changed

+45
-4
lines changed

4 files changed

+45
-4
lines changed

CHANGES.md

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,45 @@
1-
# CHANGES - OpenPrinting CUPS Filters v2.0rc1 - 2023-04-12
1+
# CHANGES - OpenPrinting CUPS Filters v2.0rc2 - 2023-06-20
2+
3+
## CHANGES IN V2.0rc2 (20th June 2023)
4+
5+
- beh backend: Use `execv()` instead of `system()` - CVE-2023-24805
6+
With `execv()` command line arguments are passed as separate strings
7+
and not the full command line in a single string. This prevents
8+
arbitrary command execution by escaping the quoting of the arguments
9+
in a job with forged job title.
10+
11+
- beh backend: Extra checks against odd/forged input - CVE-2023-24805
12+
13+
* Do not allow `/` in the scheme of the URI (= backend executable
14+
name), to assure that only backends inside
15+
`/usr/lib/cups/backend/` are used.
16+
17+
* Pre-define scheme buffer to empty string, to be defined for case
18+
of URI being NULL.
19+
20+
* URI must have `:`, to split off scheme, otherwise error.
21+
22+
* Check return value of `snprintf()` to create call path for
23+
backend, to error out on truncation of a too long scheme or on
24+
complete failure due to a completely odd scheme.
25+
26+
- beh backend: Further improvements - CVE-2023-24805
27+
28+
* Use `strncat()` instead of `strncpy()` for getting scheme from
29+
URI, the latter does not require setting terminating zero byte in
30+
case of truncation.
31+
32+
* Also exclude `.` or `..` as scheme, as directories are not valid
33+
CUPS backends.
34+
35+
* Do not use `fprintf()` in `sigterm_handler()`, to not interfere
36+
with a `fprintf()` which could be running in the main process when
37+
`sigterm_handler()` is triggered.
38+
39+
* Use `static volatile int` for global variable job_canceled.
40+
41+
- `parallel` backend: Added missing `#include` lines
42+
243

344
## CHANGES IN V2.0rc1 (12th April 2023)
445

INSTALL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INSTALL - OpenPrinting CUPS Filters v2.0rc1 - 2023-04-12
1+
INSTALL - OpenPrinting CUPS Filters v2.0rc2 - 2023-06-20
22
--------------------------------------------------------
33

44
This file describes how to compile and install OpenPrinting CUPS

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OpenPrinting CUPS Filters v2.0rc1 - 2023-04-12
1+
# OpenPrinting CUPS Filters v2.0rc2 - 2023-06-20
22

33
Looking for compile instructions? Read the file "INSTALL"
44
instead...

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ AC_PREREQ([2.65])
55
# ====================
66
# Version informations
77
# ====================
8-
AC_INIT([cups-filters], [2.0rc1], [https://github.com/OpenPrinting/cups-filters/issues], [cups-filters], [https://github.com/OpenPrinting/cups-filters/])
8+
AC_INIT([cups-filters], [2.0rc2], [https://github.com/OpenPrinting/cups-filters/issues], [cups-filters], [https://github.com/OpenPrinting/cups-filters/])
99
cups_filters_version="AC_PACKAGE_VERSION"
1010
cups_filters_version_major="`echo AC_PACKAGE_VERSION | awk -F. '{print $1}'`"
1111
cups_filters_version_major="`echo AC_PACKAGE_VERSION | awk -F. '{printf("%d\n",$2);}'`"

0 commit comments

Comments
 (0)