Skip to content

Commit 859ea44

Browse files
committed
CUPS v2.3.6 for CVE-2022-26691
1 parent 0bc9dc4 commit 859ea44

File tree

13 files changed

+36
-32
lines changed

13 files changed

+36
-32
lines changed

CHANGES.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Change History
22
==============
33

4+
Changes in CUPS v2.3.6
5+
----------------------
6+
- CVE-2022-26691: An incorrect comparison in local admin authentication.
7+
48

59
Changes in CUPS v2.3.5
610
----------------------

INSTALL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INSTALL - CUPS v2.3.4 - 2020-04-24 (IN PROGRESS)
1+
INSTALL - CUPS v2.3.6 - 2022-05-25
22
==================================
33

44
This file describes how to compile and install CUPS from source code. For more

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README - Apple CUPS v2.3.5 - 2021-09-13
1+
README - Apple CUPS v2.3.6 - 2022-05-25
22
=======================================
33

44
> Note: Apple CUPS is the version of CUPS that is shipped with macOS and iOS.

config-scripts/cups-compiler.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ if test -n "$GCC"; then
169169
fi
170170

171171
# Add useful warning options for tracking down problems...
172-
WARNING_OPTIONS="-Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion"
172+
WARNING_OPTIONS="-Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-unused-but-set-variable -Wno-unused-variable"
173173

174174
# Test GCC version for certain warning flags since -Werror
175175
# doesn't trigger...
@@ -182,7 +182,7 @@ if test -n "$GCC"; then
182182

183183
# Additional warning options for development testing...
184184
if test -d .git; then
185-
WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS"
185+
WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations -Wno-unknown-warning-option $WARNING_OPTIONS"
186186
fi
187187
else
188188
# Add vendor-specific compiler options...

configure

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.69 for CUPS 2.3.5.
3+
# Generated by GNU Autoconf 2.69 for CUPS 2.3.6.
44
#
55
# Report bugs to <https://github.com/apple/cups/issues>.
66
#
@@ -580,8 +580,8 @@ MAKEFLAGS=
580580
# Identity of this package.
581581
PACKAGE_NAME='CUPS'
582582
PACKAGE_TARNAME='cups'
583-
PACKAGE_VERSION='2.3.5'
584-
PACKAGE_STRING='CUPS 2.3.5'
583+
PACKAGE_VERSION='2.3.6'
584+
PACKAGE_STRING='CUPS 2.3.6'
585585
PACKAGE_BUGREPORT='https://github.com/apple/cups/issues'
586586
PACKAGE_URL='https://www.cups.org/'
587587

@@ -1467,7 +1467,7 @@ if test "$ac_init_help" = "long"; then
14671467
# Omit some internal or obsolete options to make the list less imposing.
14681468
# This message is too long to be a string in the A/UX 3.1 sh.
14691469
cat <<_ACEOF
1470-
\`configure' configures CUPS 2.3.5 to adapt to many kinds of systems.
1470+
\`configure' configures CUPS 2.3.6 to adapt to many kinds of systems.
14711471
14721472
Usage: $0 [OPTION]... [VAR=VALUE]...
14731473
@@ -1532,7 +1532,7 @@ fi
15321532

15331533
if test -n "$ac_init_help"; then
15341534
case $ac_init_help in
1535-
short | recursive ) echo "Configuration of CUPS 2.3.5:";;
1535+
short | recursive ) echo "Configuration of CUPS 2.3.6:";;
15361536
esac
15371537
cat <<\_ACEOF
15381538
@@ -1713,7 +1713,7 @@ fi
17131713
test -n "$ac_init_help" && exit $ac_status
17141714
if $ac_init_version; then
17151715
cat <<\_ACEOF
1716-
CUPS configure 2.3.5
1716+
CUPS configure 2.3.6
17171717
generated by GNU Autoconf 2.69
17181718
17191719
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2177,7 +2177,7 @@ cat >config.log <<_ACEOF
21772177
This file contains any messages produced by compilers while
21782178
running configure, to aid debugging if configure makes a mistake.
21792179
2180-
It was created by CUPS $as_me 2.3.5, which was
2180+
It was created by CUPS $as_me 2.3.6, which was
21812181
generated by GNU Autoconf 2.69. Invocation command line was
21822182
21832183
$ $0 $@
@@ -2694,7 +2694,7 @@ done
26942694
ac_config_headers="$ac_config_headers config.h"
26952695

26962696

2697-
CUPS_VERSION="2.3.5"
2697+
CUPS_VERSION="2.3.6"
26982698
CUPS_REVISION=""
26992699
CUPS_BUILD="cups-$CUPS_VERSION"
27002700

@@ -6905,7 +6905,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69056905
fi
69066906

69076907
# Add useful warning options for tracking down problems...
6908-
WARNING_OPTIONS="-Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion"
6908+
WARNING_OPTIONS="-Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-unused-but-set-variable -Wno-unused-variable"
69096909

69106910
# Test GCC version for certain warning flags since -Werror
69116911
# doesn't trigger...
@@ -6918,7 +6918,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69186918

69196919
# Additional warning options for development testing...
69206920
if test -d .git; then
6921-
WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS"
6921+
WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations -Wno-unknown-warning-option $WARNING_OPTIONS"
69226922
fi
69236923
else
69246924
# Add vendor-specific compiler options...
@@ -10385,7 +10385,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1038510385
# report actual input values of CONFIG_FILES etc. instead of their
1038610386
# values after options handling.
1038710387
ac_log="
10388-
This file was extended by CUPS $as_me 2.3.5, which was
10388+
This file was extended by CUPS $as_me 2.3.6, which was
1038910389
generated by GNU Autoconf 2.69. Invocation command line was
1039010390
1039110391
CONFIG_FILES = $CONFIG_FILES
@@ -10448,7 +10448,7 @@ _ACEOF
1044810448
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1044910449
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1045010450
ac_cs_version="\\
10451-
CUPS config.status 2.3.5
10451+
CUPS config.status 2.3.6
1045210452
configured by $0, generated by GNU Autoconf 2.69,
1045310453
with options \\"\$ac_cs_config\\"
1045410454

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dnl We need at least autoconf 2.60...
1212
AC_PREREQ(2.60)
1313

1414
dnl Package name and version...
15-
AC_INIT([CUPS], [2.3.5], [https://github.com/apple/cups/issues], [cups], [https://www.cups.org/])
15+
AC_INIT([CUPS], [2.3.6], [https://github.com/apple/cups/issues], [cups], [https://www.cups.org/])
1616

1717
sinclude(config-scripts/cups-opsys.m4)
1818
sinclude(config-scripts/cups-common.m4)

cups/cups.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* API definitions for CUPS.
33
*
4-
* Copyright © 2007-2021 by Apple Inc.
4+
* Copyright © 2007-2022 by Apple Inc.
55
* Copyright © 1997-2007 by Easy Software Products.
66
*
77
* Licensed under Apache License v2.0. See the file "LICENSE" for more
@@ -42,10 +42,10 @@ extern "C" {
4242
* Constants...
4343
*/
4444

45-
# define CUPS_VERSION 2.0305
45+
# define CUPS_VERSION 2.0306
4646
# define CUPS_VERSION_MAJOR 2
4747
# define CUPS_VERSION_MINOR 3
48-
# define CUPS_VERSION_PATCH 5
48+
# define CUPS_VERSION_PATCH 6
4949

5050
# define CUPS_BC_FD 3
5151
/* Back-channel file descriptor for

cups/cupspm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: CUPS Programming Manual
33
author: Michael R Sweet
4-
copyright: Copyright © 2007-2020 by Apple Inc. All Rights Reserved.
5-
version: 2.3.4
4+
copyright: Copyright © 2007-2022 by Apple Inc. All Rights Reserved.
5+
version: 2.3.6
66
...
77

88
> Please [file issues on Github](https://github.com/apple/cups/issues) to

doc/help/cupspm.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
88
<meta name="creator" content="codedoc v3.1">
99
<meta name="author" content="Michael R Sweet">
10-
<meta name="copyright" content="Copyright &#xa9; 2007-2020 by Apple Inc. All Rights Reserved.">
11-
<meta name="version" content="2.3.4">
10+
<meta name="copyright" content="Copyright &#xa9; 2007-2022 by Apple Inc. All Rights Reserved.">
11+
<meta name="version" content="2.3.6">
1212
<style type="text/css"><!--
1313
body, p, h1, h2, h3, h4 {
1414
font-family: sans-serif;

locale/cups.pot

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#, fuzzy
2424
msgid ""
2525
msgstr ""
26-
"Project-Id-Version: CUPS 2.3.4\n"
26+
"Project-Id-Version: CUPS 2.3.6\n"
2727
"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n"
2828
"POT-Creation-Date: 2019-12-18 20:19-0500\n"
2929
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"

scripts/makesrcdist

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ else
5959
exit 1
6060
fi
6161

62-
temp=`head -1 README.md | awk '{print $4}'`
62+
temp=`head -1 README.md | awk '{print $5}'`
6363
if test "$temp" != "v$version"; then
6464
echo "Still need to update version to v$version in README.md (saw $temp)"
6565
exit 1

vcnet/config.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Configuration file for CUPS on Windows.
33
*
4-
* Copyright © 2007-2021 by Apple Inc.
4+
* Copyright © 2007-2022 by Apple Inc.
55
* Copyright © 1997-2007 by Easy Software Products.
66
*
77
* Licensed under Apache License v2.0. See the file "LICENSE" for more
@@ -97,8 +97,8 @@ typedef unsigned long useconds_t;
9797
* Version of software...
9898
*/
9999

100-
#define CUPS_SVERSION "CUPS v2.3.5"
101-
#define CUPS_MINIMAL "CUPS/2.3.5"
100+
#define CUPS_SVERSION "CUPS v2.3.6"
101+
#define CUPS_MINIMAL "CUPS/2.3.6"
102102

103103

104104
/*

xcode/config.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Configuration file for CUPS and Xcode.
33
*
4-
* Copyright 2007-2021 by Apple Inc.
4+
* Copyright 2007-2022 by Apple Inc.
55
* Copyright 1997-2007 by Easy Software Products.
66
*
77
* Licensed under Apache License v2.0. See the file "LICENSE" for more information.
@@ -18,8 +18,8 @@
1818
* Version of software...
1919
*/
2020

21-
#define CUPS_SVERSION "CUPS v2.3.5"
22-
#define CUPS_MINIMAL "CUPS/2.3.5"
21+
#define CUPS_SVERSION "CUPS v2.3.6"
22+
#define CUPS_MINIMAL "CUPS/2.3.6"
2323

2424

2525
/*

0 commit comments

Comments
 (0)