Skip to content

Commit

Permalink
CUPS v2.3.6 for CVE-2022-26691
Browse files Browse the repository at this point in the history
  • Loading branch information
salgernon committed May 25, 2022
1 parent 0bc9dc4 commit 859ea44
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 32 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
@@ -1,6 +1,10 @@
Change History
==============

Changes in CUPS v2.3.6
----------------------
- CVE-2022-26691: An incorrect comparison in local admin authentication.


Changes in CUPS v2.3.5
----------------------
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.md
@@ -1,4 +1,4 @@
INSTALL - CUPS v2.3.4 - 2020-04-24 (IN PROGRESS)
INSTALL - CUPS v2.3.6 - 2022-05-25
==================================

This file describes how to compile and install CUPS from source code. For more
Expand Down
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
README - Apple CUPS v2.3.5 - 2021-09-13
README - Apple CUPS v2.3.6 - 2022-05-25
=======================================

> Note: Apple CUPS is the version of CUPS that is shipped with macOS and iOS.
Expand Down
4 changes: 2 additions & 2 deletions config-scripts/cups-compiler.m4
Expand Up @@ -169,7 +169,7 @@ if test -n "$GCC"; then
fi

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

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

# Additional warning options for development testing...
if test -d .git; then
WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS"
WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations -Wno-unknown-warning-option $WARNING_OPTIONS"
fi
else
# Add vendor-specific compiler options...
Expand Down
24 changes: 12 additions & 12 deletions configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for CUPS 2.3.5.
# Generated by GNU Autoconf 2.69 for CUPS 2.3.6.
#
# Report bugs to <https://github.com/apple/cups/issues>.
#
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='CUPS'
PACKAGE_TARNAME='cups'
PACKAGE_VERSION='2.3.5'
PACKAGE_STRING='CUPS 2.3.5'
PACKAGE_VERSION='2.3.6'
PACKAGE_STRING='CUPS 2.3.6'
PACKAGE_BUGREPORT='https://github.com/apple/cups/issues'
PACKAGE_URL='https://www.cups.org/'

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

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of CUPS 2.3.5:";;
short | recursive ) echo "Configuration of CUPS 2.3.6:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1713,7 +1713,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
CUPS configure 2.3.5
CUPS configure 2.3.6
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2177,7 +2177,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by CUPS $as_me 2.3.5, which was
It was created by CUPS $as_me 2.3.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -2694,7 +2694,7 @@ done
ac_config_headers="$ac_config_headers config.h"


CUPS_VERSION="2.3.5"
CUPS_VERSION="2.3.6"
CUPS_REVISION=""
CUPS_BUILD="cups-$CUPS_VERSION"

Expand Down Expand Up @@ -6905,7 +6905,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi

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

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

# Additional warning options for development testing...
if test -d .git; then
WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS"
WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations -Wno-unknown-warning-option $WARNING_OPTIONS"
fi
else
# Add vendor-specific compiler options...
Expand Down Expand Up @@ -10385,7 +10385,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by CUPS $as_me 2.3.5, which was
This file was extended by CUPS $as_me 2.3.6, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -10448,7 +10448,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
CUPS config.status 2.3.5
CUPS config.status 2.3.6
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -12,7 +12,7 @@ dnl We need at least autoconf 2.60...
AC_PREREQ(2.60)

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

sinclude(config-scripts/cups-opsys.m4)
sinclude(config-scripts/cups-common.m4)
Expand Down
6 changes: 3 additions & 3 deletions cups/cups.h
@@ -1,7 +1,7 @@
/*
* API definitions for CUPS.
*
* Copyright © 2007-2021 by Apple Inc.
* Copyright © 2007-2022 by Apple Inc.
* Copyright © 1997-2007 by Easy Software Products.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
Expand Down Expand Up @@ -42,10 +42,10 @@ extern "C" {
* Constants...
*/

# define CUPS_VERSION 2.0305
# define CUPS_VERSION 2.0306
# define CUPS_VERSION_MAJOR 2
# define CUPS_VERSION_MINOR 3
# define CUPS_VERSION_PATCH 5
# define CUPS_VERSION_PATCH 6

# define CUPS_BC_FD 3
/* Back-channel file descriptor for
Expand Down
4 changes: 2 additions & 2 deletions cups/cupspm.md
@@ -1,8 +1,8 @@
---
title: CUPS Programming Manual
author: Michael R Sweet
copyright: Copyright © 2007-2020 by Apple Inc. All Rights Reserved.
version: 2.3.4
copyright: Copyright © 2007-2022 by Apple Inc. All Rights Reserved.
version: 2.3.6
...

> Please [file issues on Github](https://github.com/apple/cups/issues) to
Expand Down
4 changes: 2 additions & 2 deletions doc/help/cupspm.html
Expand Up @@ -7,8 +7,8 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="creator" content="codedoc v3.1">
<meta name="author" content="Michael R Sweet">
<meta name="copyright" content="Copyright &#xa9; 2007-2020 by Apple Inc. All Rights Reserved.">
<meta name="version" content="2.3.4">
<meta name="copyright" content="Copyright &#xa9; 2007-2022 by Apple Inc. All Rights Reserved.">
<meta name="version" content="2.3.6">
<style type="text/css"><!--
body, p, h1, h2, h3, h4 {
font-family: sans-serif;
Expand Down
2 changes: 1 addition & 1 deletion locale/cups.pot
Expand Up @@ -23,7 +23,7 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: CUPS 2.3.4\n"
"Project-Id-Version: CUPS 2.3.6\n"
"Report-Msgid-Bugs-To: https://github.com/apple/cups/issues\n"
"POT-Creation-Date: 2019-12-18 20:19-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
Expand Down
2 changes: 1 addition & 1 deletion scripts/makesrcdist
Expand Up @@ -59,7 +59,7 @@ else
exit 1
fi

temp=`head -1 README.md | awk '{print $4}'`
temp=`head -1 README.md | awk '{print $5}'`
if test "$temp" != "v$version"; then
echo "Still need to update version to v$version in README.md (saw $temp)"
exit 1
Expand Down
6 changes: 3 additions & 3 deletions vcnet/config.h
@@ -1,7 +1,7 @@
/*
* Configuration file for CUPS on Windows.
*
* Copyright © 2007-2021 by Apple Inc.
* Copyright © 2007-2022 by Apple Inc.
* Copyright © 1997-2007 by Easy Software Products.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more
Expand Down Expand Up @@ -97,8 +97,8 @@ typedef unsigned long useconds_t;
* Version of software...
*/

#define CUPS_SVERSION "CUPS v2.3.5"
#define CUPS_MINIMAL "CUPS/2.3.5"
#define CUPS_SVERSION "CUPS v2.3.6"
#define CUPS_MINIMAL "CUPS/2.3.6"


/*
Expand Down
6 changes: 3 additions & 3 deletions xcode/config.h
@@ -1,7 +1,7 @@
/*
* Configuration file for CUPS and Xcode.
*
* Copyright 2007-2021 by Apple Inc.
* Copyright 2007-2022 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products.
*
* Licensed under Apache License v2.0. See the file "LICENSE" for more information.
Expand All @@ -18,8 +18,8 @@
* Version of software...
*/

#define CUPS_SVERSION "CUPS v2.3.5"
#define CUPS_MINIMAL "CUPS/2.3.5"
#define CUPS_SVERSION "CUPS v2.3.6"
#define CUPS_MINIMAL "CUPS/2.3.6"


/*
Expand Down

0 comments on commit 859ea44

Please sign in to comment.