Commit graph

3801 commits

Author SHA1 Message Date
Alexandru Ardelean
3468dda484 django: bump to version 4.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-06 11:36:47 +02:00
Michael Heimpold
864db40722
Merge pull request #19534 from mhei/php8-pecl-http-update-4.2.3
php8-pecl-http: update to 4.2.3
2022-10-06 07:40:56 +02:00
Hirokazu MORIKAWA
658621bf5e node: bump to v16.17.1
The following CVEs are fixed in this release:
* CVE-2022-32212: DNS rebinding in --inspect on macOS (High)
    * Insufficient fix for macOS devices on v18.5.0
* CVE-2022-32222: Node 18 reads openssl.cnf from /home/iojs/build/ upon startup on MacOS (Medium)
* CVE-2022-32213: HTTP Request Smuggling - Flawed Parsing of Transfer-Encoding (Medium)
    * Insufficient fix on v18.5.0
* CVE-2022-32215: HTTP Request Smuggling - Incorrect Parsing of Multi-line Transfer-Encoding (Medium)
    * Insufficient fix on v18.5.0
* CVE-2022-35256: HTTP Request Smuggling - Incorrect Parsing of Header Fields (Medium)
* CVE-2022-35255: Weak randomness in WebCrypto keygen
More detailed information on each of the vulnerabilities can be found in September 22nd 2022 Security Releases blog post.

llhttp updated to 6.0.10
llhttp is updated to 6.0.10 which includes fixes for the following vulnerabilities.
* HTTP Request Smuggling - CVE-2022-32213 bypass via obs-fold mechanic (Medium)(CVE-2022-32213 ): The llhttp parser in the http module does not correctly parse and validate Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).
* HTTP Request Smuggling - Incorrect Parsing of Multi-line Transfer-Encoding (Medium)(CVE-2022-32215): The llhttp parser in the http module does not correctly handle multi-line Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).
* HTTP Request Smuggling - Incorrect Parsing of Header Fields (Medium)(CVE-35256): The llhttp parser in the http does not correctly handle header fields that are not terminated with CLRF. This can lead to HTTP Request Smuggling (HRS).

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-10-05 23:28:49 +02:00
Michael Heimpold
ccc3b06724 php8-pecl-http: update to 4.2.3
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-10-05 20:52:38 +02:00
Petr Štetiar
845d81ca09 treewide: fix security issues by bumping all packages using libwolfssl
As wolfSSL is having hard time maintaining ABI compatibility between
releases, we need to manually force rebuild of packages depending on
libwolfssl and thus force their upgrade. Otherwise due to the ABI
handling we would endup with possibly two libwolfssl libraries in the
system, including the patched libwolfssl-5.5.1, but still have
vulnerable services running using the vulnerable libwolfssl-5.4.0.

So in order to propagate update of libwolfssl to latest stable release
done in commit ec8fb542ec3e4 ("wolfssl: fix TLSv1.3 RCE in uhttpd by
using 5.5.1-stable (CVE-2022-39173)") which fixes several remotely
exploitable vulnerabilities, we need to bump PKG_RELEASE of all packages
using wolfSSL library.

Same bump has been done in buildroot in commit f1b7e1434f66 ("treewide:
fix security issues by bumping all packages using libwolfssl").

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-10-04 00:58:29 -07:00
Michael Heimpold
cc6bf5f71e
Merge pull request #19512 from mhei/php8-update-8.1.11
php8: update to 8.1.11
2022-10-04 07:25:06 +02:00
Javier Marcet
e6cc43a7f0 python-stem: update to v1.8.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-10-03 15:04:06 -07:00
Michael Heimpold
e0db68ef0a php8: update to 8.1.11
This fixes:
    - CVE-2022-31628
    - CVE-2022-31629

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-10-03 11:08:08 +02:00
Michael Heimpold
91462f9034 php8-pecl-sodium: drop package, replaced by php8-mod-sodium (refs #18997)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-09-30 20:42:09 +02:00
Michael Heimpold
8b1b6caedf php8: add sodium extensions (refs #18997)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-09-30 20:42:09 +02:00
Rosen Penev
d09844e395 python3: use tools/expat for host build
Oversight from when the expat host build was removed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-09-28 00:58:17 -07:00
Eneas U de Queiroz
d9275521f1 lua-eco: adapt SSL choice to libwolfsslcpu-crypto
libwolfsslcpu-crypto has to be taken into consideration when selecting
the default SSL backend.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-09-26 09:30:25 -03:00
Karl Palsson
5a511e25ad lang: lua-penlight: update to 1.13.1
These are bugfix and feature releases.

Changes from 1.11->1.12:
https://github.com/lunarmodules/Penlight/blob/master/CHANGELOG.md#1120-2022-jan-10
Changes from 1.12->1.13:
https://github.com/lunarmodules/Penlight/blob/master/CHANGELOG.md#1130-2022-jul-22

Signed-off-by: Karl Palsson <karlp@etactica.com>
2022-09-26 09:38:00 +00:00
Michael Heimpold
61f84e17f9 php8-pecl-xdebug: add package (refs 19424)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-09-24 09:50:28 +02:00
Javier Marcet
6c553c35b3 python-jsonschema: Update to 4.16.0
- Improve the base URI behavior when resolving a $ref to a resolution
 URI which is different from the resolved schema's declared $id.
 - Accessing jsonschema.draftN_format_checker is deprecated. Instead,
 if you want access to the format checker itself, it is exposed as
 jsonschema.validators.DraftNValidator.FORMAT_CHECKER on any
 jsonschema.protocols.Validator.

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-17 12:58:04 -07:00
Javier Marcet
617efbc02e python-jsonschema: Update to 4.15.0, broken since 4.6.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-17 12:58:04 -07:00
Michal Vasilek
7fd9d010a2
python-flask-socketio: update to 5.3.1
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-09-16 12:51:06 +02:00
Nick Hainke
c8bed78fb3 python3-iperf3: add iperf3 python wrapper
This wrapper gives us an easy to use api for using iperf3 in python.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-14 02:37:44 -07:00
Nick Hainke
b8bfdc5cd6 python3-flent: add flent package
As described on GitHub page [0]:
  Flent is a Python wrapper to run multiple simultaneous
  netperf/iperf/ping instances and aggregate the results.

[0] - https://github.com/tohojo/flent

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-14 02:36:07 -07:00
Šimon Bořek
992fcd1bd8 python3: backport and fix target musl libc detection
Patch 030:
Backported from Python main branch[^1] for Python to distinguish between glibc and musl libc SOABI.

Patch 131:
Changes PLATFORM_TRIPLET -gnu/-musl suffix detection (performed by the backported patch)
to be based on the target OS instead of the building OS.

See included patches for more detailed descriptions.

Specifically this fixes cross-compilation for mpc8548 CPUs with SPE instructions[^2] enabled.

[^1]: merged to python:main as https://github.com/python/cpython/pull/24502 'bpo-43112: detect musl as a separate SOABI'
[^2]: https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf

Co-authored-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2022-09-12 14:20:14 -07:00
Javier Marcet
1c49d1a309 python-websocket-client: update to 1.4.1
- Fix stack growth bug when `run_forever` reconnects
  - Add doctest CI for sphinx docs code examples (d150099)
  - General docs improvements
  - Fix automatic reconnect with `run_forever`
  - Allow a timeout to be set when using a proxy

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-09 15:18:12 -07:00
Javier Marcet
bb44de8634 python-dotenv: update to v0.21.0
Added:

 - CLI: add support for invocations via 'python -m'.
 - load_dotenv function now returns False.
 - CLI: add --format= option to list command.

Fixed:

 - Drop Python 3.5 and 3.6 and upgrade GA
 - Use open instead of io.open.
 - Improve documentation for variables without a value
 - Add parse_it to Related Projects
 - Update README.md
 - Improve documentation with direct use of MkDocs

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-09 15:18:01 -07:00
Javier Marcet
7b3ceb95d9 python-docker: Update to 6.0.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-09 15:17:54 -07:00
Michael Heimpold
026a672ad1 php8: update to 8.1.10
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-09-06 21:47:30 +02:00
Siger Yang
d9099da779 luaossl: update to rel-20220711
Signed-off-by: Siger Yang <siger.yang@outlook.com>
2022-08-31 13:33:28 -07:00
Alexandru Ardelean
552def0637
Merge pull request #19238 from dynasticorpheus/pycares
python-pycares: add new package
2022-08-28 20:59:42 +03:00
Josef Schlehofer
72cf350b08
Merge pull request #19253 from turris-cz/pyuci
python-uci: update to version 0.9.0
2022-08-26 16:55:12 +02:00
Josef Schlehofer
e340fe8a12
python-uci: update to version 0.9.0
- Release notes:
https://gitlab.nic.cz/turris/pyuci/-/tags/v0.9.0
- Update copyright while at it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-08-25 16:46:29 +02:00
Fabian Lipken
90ef79afd8 python-pycares: add new package
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-08-25 11:53:02 +02:00
Eneas U de Queiroz
f3a3184d32 lua-eco: rework SSL library dependency & selection
Currently, lua-eco will add dependencies to all SSL libraries that are
selected, even though it will only use one of them.  That means that the
package downloaded from the regular repository will install OpenSSL,
wolfSSL and mbedTLS, even though it will only use OpenSSL.

Fix that by adding a built option so that the default can be changed at
build-time.  To maintain the author's intention, a default symbol is
computed based on what libraries are being built into the image, or just
selected as a module.  Originally, the order or preference was OpenSSL,
wolfSSL, then mbedTLS.

One change was made to the original order: if OpenSSL and wolfSSL are
both selected as module, and mbedTLS is not built into the image,
wolfSSL will be preferred over OpenSSL.  This is being done to keep the
package consistent with OpenWRT's selection of wolfSSL as the default
SSL library.  If they are both included in the image, then OpenSSL will
be preferred.

The order of preference is:
1. If at least one library is included in the image, use the first of
   OpenSSL, wolfSSL, and mbedTLS that is included in the image.
2. If at least one library is selected, but none included in the image,
   prefer wolfSSL, then OpenSSL, then mbedTLS.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-08-24 13:23:35 -07:00
Alexandru Ardelean
c6ac0c497f
Merge pull request #19229 from commodo/python-updates1
django, python-{evdev,pytz}: bump versions
2022-08-24 12:29:43 +03:00
Tianling Shen
d04fefc2b7 perl-ack: Update to 3.6.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-08-23 16:37:16 -07:00
Hirokazu MORIKAWA
841b38f37a node: bump to v16.17.0
Notable Changes:
Experimental command-line argument parser API
Experimental ESM Loader Hooks API
Experimental test runner
Improved interoperability of the Web Crypto API

Dependency updates:
Updated Corepack to 0.12.1
Updated ICU to 71.1
Updated npm to 8.15.0
Updated Undici to 5.8.0

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-08-23 08:24:51 +02:00
Alexandru Ardelean
e706b0691b python-pytz: bump to version 2022.2.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-22 16:20:01 +03:00
Alexandru Ardelean
cbe023d285 django: bump to 4.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-22 10:00:47 +03:00
Alexandru Ardelean
f5f282f0bb python-evdev: bump to 1.6.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-22 09:12:13 +03:00
Alexandru Ardelean
8bf399f78e
Merge pull request #19192 from turris-cz/cython-pip-requirements
host-pip-requirements: update Cython to version 0.29.28
2022-08-19 20:45:10 +03:00
Josef Schlehofer
e78352c043
host-pip-requirements: update Cython to version 0.29.28
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-08-17 16:07:16 +02:00
Alexandru Ardelean
222a8683c0 python3-simplejson: drop package
Was only used by Bigclown.
The project (Bigclown) has accepted the switch from simplejson to it's
built-in json lib, and we can now drop this lib.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-16 13:12:33 -07:00
Josef Schlehofer
ce1679a07f
python-websockets: update to version 10.3
- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-08-12 21:35:39 +02:00
Michael Heimpold
55e06d66fa php8: update to 8.1.9
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-08-08 00:58:45 +02:00
Šimon Bořek
a4a484fbca luajit: patch: PPC/e500 SPE: use soft float instead of failing
makes LuaJit builds for mpc85xx targets with SPE ISA extension
enabled possible

Quoting inner commit message:

This allows building LuaJit for systems with Power ISA SPE
extension[^1] support by using soft float on LuaJit side.

While e500 CPU cores support SPE instruction set extension
allowing them to perform floating point arithmetic natively,
this isn't required. They can function with software floating
point to integer arithmetic translation as well,
just like FPU-less PowerPC CPUs without SPE support.

Therefore I see no need to prevent them from running LuaJit
explicitly.

[^1]: https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2022-08-06 10:34:58 -07:00
Jan Hoffmann
52ae0a2018 python-paho-mqtt: add missing dependency
The uuid module has been split out into a separate package with the
update to Python 3.10.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2022-08-03 17:04:42 +02:00
Javier Marcet
500cdd1243 python-jsonschema: Update to 4.9.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-08-02 18:07:56 -07:00
Michael Heimpold
d413cdf17a
Merge pull request #18993 from mhei/php8-update-8.1.8
php8: update to 8.1.8
2022-07-28 10:31:41 +02:00
ZiMing Mo
fd1e3e2890 ruby: fix build with LibreSSL over v3.5
LibreSSL 3.5 and later provide and need to use
PEM_write_bio_PrivateKey_traditional()

upstream commit:
e25fb0d0d8
b02815271f

Signed-off-by: ZiMing Mo <msylgj@immortalwrt.org>
2022-07-23 19:19:12 -07:00
Sebastian Kemper
6544b67f1f erlang: workaround LibreSSL-3.5.0 compat issues
Cherry-pick four upstream commits that prevent building of
otp_test_engine when LibreSSL-3.5.0 is used.

Since OpenWrt bumped LibreSSL to 3.5.3 the erlang host builds fail to
complete.

 CC	../priv/obj/x86_64-pc-linux-gnu/otp_test_engine.o
otp_test_engine.c: In function 'test_engine_md5_init':
otp_test_engine.c:144:34: error: dereferencing pointer to incomplete type 'EVP_MD_CTX' {aka 'struct env_md_ctx_st'}
 #define data(ctx) ((MD5_CTX *)ctx->md_data)
                                  ^~

Also switch to AUTORELEASE.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-07-23 12:45:10 -07:00
Andre Heider
bd6e205421 python3: update patches for libressl v3.5
Based upon patches from OpenBSD[0] and Gentoo[1].

Switched to the LibreSSL provided LIBRESSL_VERSION_NUMBER macro, which
makes OPENWRT_HOST_BUILD redundant.

[0] https://github.com/openbsd/ports/tree/master/lang/python/3.10/patches
[1] https://github.com/gentoo/libressl/tree/master/dev-lang/python/files

Signed-off-by: Andre Heider <a.heider@gmail.com>
2022-07-23 12:28:55 -07:00
Alexandru Ardelean
0ae4a5195a
Merge pull request #18966 from commodo/django-bump
django: bump to version 4.0.6
2022-07-22 14:44:43 +03:00
Michael Heimpold
78f45bb651 php8: update to 8.1.8
This fixes:
    - CVE-2022-31627

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-07-20 21:47:20 +02:00