Commit Graph

31292 Commits

Author SHA1 Message Date
Fathi Boudra
78ccc36d6f python3-django: upgrade 4.2.11 -> 4.2.16
CVE-2024-45230: Potential denial-of-service vulnerability in
django.utils.html.urlize()
urlize and urlizetrunc were subject to a potential denial-of-service attack
via very large inputs with a specific sequence of characters.

CVE-2024-45231: Potential user email enumeration via response status on
password reset
Due to unhandled email sending failures, the
django.contrib.auth.forms.PasswordResetForm class allowed remote attackers to
enumerate user emails by issuing password reset requests and observing the
outcomes.
To mitigate this risk, exceptions occurring during password reset email
sending are now handled and logged using the django.contrib.auth logger.

CVE-2024-41989: Memory exhaustion in django.utils.numberformat.floatformat()
The floatformat template filter is subject to significant memory consumption
when given a string representation of a number in scientific notation with
a large exponent.

CVE-2024-41990: Potential denial-of-service in django.utils.html.urlize()
The urlize() and urlizetrunc() template filters are subject to a potential
denial-of-service attack via very large inputs with a specific sequence of
characters.

CVE-2024-41991: Potential denial-of-service vulnerability in
django.utils.html.urlize() and AdminURLFieldWidget
The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget,
are subject to a potential denial-of-service attack via certain inputs with
a very large number of Unicode characters.

CVE-2024-42005: Potential SQL injection in QuerySet.values() and values_list()
QuerySet.values() and values_list() methods on models with a JSONField are
subject to SQL injection in column aliases via a crafted JSON object key as
a passed *arg.

CVE-2024-38875: Potential denial-of-service in django.utils.html.urlize()
urlize() and urlizetrunc() were subject to a potential denial-of-service
attack via certain inputs with a very large number of brackets.

CVE-2024-39329: Username enumeration through timing difference for users with
unusable passwords
The django.contrib.auth.backends.ModelBackend.authenticate() method allowed
remote attackers to enumerate users via a timing attack involving login
requests for users with unusable passwords.

CVE-2024-39330: Potential directory-traversal in
django.core.files.storage.Storage.save()
Derived classes of the django.core.files.storage.Storage base class which
override generate_filename() without replicating the file path validations
existing in the parent class, allowed for potential directory-traversal via
certain inputs when calling save().
Built-in Storage sub-classes were not affected by this vulnerability.

CVE-2024-39614: Potential denial-of-service in
django.utils.translation.get_supported_language_variant()
get_supported_language_variant() was subject to a potential denial-of-service
attack when used with very long strings containing specific characters.
To mitigate this vulnerability, the language code provided to
get_supported_language_variant() is now parsed up to a maximum length of
500 characters.

Fixed a crash in Django 4.2 when validating email max line lengths with content
decoded using the surrogateescape error handling scheme (#35361)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-13 11:30:12 -07:00
Khem Raj
b64edeccfa python3-flask: Add missing ptest deps
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
504f721090 python3-py-cpuinfo: Fix ptest runtime deps
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
6e882af153 python3-pyyaml-include: Add missing dependencies for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
682dca03e7 ptest-packagelists-meta-python: Add python3-fsspec to fast test list
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
6658d46595 python3-fsspec: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
cb1c641b0f python3-service-identity: Fix ptest rdeps
Add missing six and attrs modules to runtime deps

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
aad5755611 python3-trustme: Add missing ptest rdeps on attrs and six modules
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
4971de062b python3-tzdata: Add missing attrs modules rdep for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
42e02bfb6f python3-serpent: Fix typo attr -> attrs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 23:21:25 -07:00
Khem Raj
9850a4a000 paho-mqtt-cpp: Use system paho-mqtt-c
It was an overisight during upgrade

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2024-09-12 23:21:25 -07:00
Yoann Congal
aa88276c26 grilo: fix buildpaths QA error
grl-type-builtins.* are generated by glib-mkenums which leave full paths
in comment and #include directives. Rewrite those before *-src packaging.
Previous fix did not correct the .c file and did not work in the
"devtool modify" case.

Fix these errors:
  ERROR: grilo-0.3.16-r0 do_package_qa: QA Issue: File /usr/src/debug/grilo/0.3.16/src/grl-type-builtins.c in package grilo-src contains reference to TMPDIR [buildpaths]
  ERROR: grilo-0.3.16-r0 do_package_qa: QA Issue: File /usr/src/debug/grilo/0.3.16/src/grl-type-builtins.h in package grilo-src contains reference to TMPDIR [buildpaths]
  ERROR: grilo-0.3.16-r0 do_package_qa: Fatal QA errors were found, failing task.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 18:25:29 -07:00
Enrico Jörns
c3a1158917 genimage: add new recipe
Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns
342d82096a libconfuse: add backported patch to fix search path logic
The fix is required to deal with absolute paths when using genimage in
openembedded context.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns
5c87230ad0 libconfuse: switch to release tar archive
Building autotools packages from git can be a bit tricky and requires
manual invocations of autogen.sh, etc.

An attempt to build for native build fails with:

| autoreconf: running: autopoint --force
| Can't exec "autopoint": No such file or directory at [..]/tmp/work/x86_64-linux/libconfuse-native/3.3/recipe-sysroot-native/usr/share/autoconf/Autom4te/FileUtils.pm line 318.
| autoreconf: error: autopoint failed with exit status: 2
| WARNING: exit code 2 from a shell command.

Since the project itself states

> Please ensure you download a versioned archive from:
> https://github.com/libconfuse/libconfuse/releases/

simply switch this recipe to using release archives and thus simplify it
and fix the automake issue.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns
2f95897a63 libconfuse: replace DESCRIPTION by SUMMARY
DESCRIPTION will default to SUMMARY, but not the other way round.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns
d88ae3885f libconfuse: provide native and nativesdk support
Allows to use libconfuse in native tools like 'genimage'.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Enrico Jörns
eeda4f91bb libconfuse: move to meta-oe
This prepares for using libconfuse for the 'genimage' recipe which
should reside in meta-oe.

Also libftdi (which is in meta-oe already) optionally requires
libconfuse when PACKAGECONFIG option 'ftdi-eeprom' is enabled.

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 14:16:20 -07:00
Harish Sadineni
1b3b373781 bpftool: Add support for riscv64
bpftool is supported for riscv64 and tested on qemuriscv64.

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-12 06:17:04 -07:00
Khem Raj
fbfc860e5b python3-parse-type: Add missing rdep on six for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:40:15 -07:00
Yi Zhao
b3efb7ecd8 mce-test: update to latest git rev
9d11fc3e05ea tprctl: enhance sighandler to explicitly print si_code

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:15:34 -07:00
Yi Zhao
d960b366eb mce-inject: upgrade to latest git rev
7668d820cadc simulate a MCE event happened during TDX guest context

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:15:34 -07:00
Yi Zhao
3f3231f62f crash: upgrade 8.0.4 -> 8.0.5
ChangeLog:
https://crash-utility.github.io/changelog/ChangeLog-8.0.5.txt

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:15:34 -07:00
Yi Zhao
352b4de567 s-nail: upgrade 14.9.24 -> 14.9.25
ChangeLog:
https://git.sdaoden.eu/browse/s-nail.git/tree/NEWS?h=v14.9.25

Drop backport patches.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:15:34 -07:00
Yi Zhao
abf6f077a3 geoclue: upgrade 2.7.1 -> 2.7.2
ChangeLog:
https://gitlab.freedesktop.org/geoclue/geoclue/-/releases/2.7.2

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:15:34 -07:00
Yi Zhao
afa14207fe lvm2: upgrade 2.03.25 -> 2.03.26
ChangeLog:
https://gitlab.com/lvmteam/lvm2/-/tags/v2_03_26

Drop 0001-configure.ac-check-egrep.patch as the issue has been fixed
upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:15:34 -07:00
Yi Zhao
8bfa426281 mm-common: upgrade 1.0.4 -> 1.0.6
ChangeLog:
https://gitlab.gnome.org/GNOME/mm-common/-/blob/1.0.6/NEWS

Drop 0001-meson.build-do-not-ask-for-python-installation-versi.patch as
the issue has been fixed upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:15:33 -07:00
Khem Raj
7f577da746 python3-serpent: Add missing rdeps for ptests to run
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 21:12:19 -07:00
Khem Raj
c1fd23eeb6 libjxl: Upgrade to 0.10.3 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 08:18:18 -07:00
Einar Gunnarsson
b3f53080fc v4l-utils: Install media ctrl pkgconfig files
Commit 5f453c3401 installs
libraries but without the pkgconfig files, making them harder to link
to. This adds pkgconfig files for these libraries

Signed-off-by: Einar Jon Gunnarsson <tolvupostur@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 06:50:25 -07:00
Yi Zhao
6d2e3a4405 drbd-utils: upgrade 9.27.0 -> 9.28.0
ChangeLog:
https://github.com/LINBIT/drbd-utils/blob/v9.28.0/ChangeLog

* Drop backport patch:
  0001-configure.ac-Add-an-option-to-disable-host-udev-vers.patch

* Refresh patch:
  0001-drbd-utils-support-usrmerge.patch

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 06:50:25 -07:00
Yi Zhao
f5e791bfb1 mbedtls: upgrade 2.28.8 -> 2.28.9
ChangeLog
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-2.28.9

Security fix:
CVE-2024-45157

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 06:50:24 -07:00
Yi Zhao
8340f5f011 mbedtls: upgrade 3.6.0 -> 3.6.1
ChangeLog:
https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.6.1

Security fixes:
CVE-2024-45157
CVE-2024-45158
CVE-2024-45159

* According to commit[1], install data_files into framework directory
  for ptest.

[1] 9c4dd4ee6f

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-11 06:50:24 -07:00
Yi Zhao
5b6a571312 autofs: upgrade 5.1.8 -> 5.1.9
ChangeLog:
https://git.kernel.org/pub/scm/linux/storage/autofs/autofs.git/tree/CHANGELOG?h=release_5_1_9

* Drop backport patches:
  0001-autofs-5.1.8-add-autofs_strerror_r-helper-for-musl.patch
  0002-autofs-5.1.8-handle-innetgr-not-present-in-musl.patch

* Drop the following patches as the issues have been fixed upstream:
  cross.patch
  pkgconfig-libnsl.patch
  fix_disable_ldap.patch
  add-the-needed-stdarg.h.patch
  autofs-5.0.7-fix-lib-deps.patch
  0001-Define-__SWORD_TYPE-if-undefined.patch
  0001-Define-__SWORD_TYPE-and-_PATH_NSSWITCH_CONF.patch
  0001-Bug-fix-for-pid_t-not-found-on-musl.patch
  0001-modules-lookup_multi.c-Replace-__S_IEXEC-with-S_IEXE.patch
  0002-Replace-__S_IEXEC-with-S_IEXEC.patch

* Reresh the following patches:
  no-bash.patch
  remove-bashism.patch
  mount_conflict.patch
  force-STRIP-to-emtpy.patch
  0001-include-libgen.h-for-basename.patch
  0001-Do-not-hardcode-path-for-pkg.m4.patch
  fix-the-YACC-rule-to-fix-a-building-failure.patch
  using-pkg-config-to-detect-libxml-2.0-and-krb5.patch

* Add patch to fix build on musl:
  0009-hash.h-include-sys-reg.h-instead-of-bits-reg.h.patch

* Backport patch to fix build with gcc14:
  0010-autofs-5.1.9-Fix-incompatible-function-pointer-types.patch

* Add PACKAGECONFIG[openldap] and PACKAGECONFIG[sasl]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 20:13:08 -07:00
Yi Zhao
28d82d17c8 freeradius: upgrade 3.2.3 -> 3.2.5
ChangeLog:
https://github.com/FreeRADIUS/freeradius-server/releases/tag/release_3_2_4
https://github.com/FreeRADIUS/freeradius-server/releases/tag/release_3_2_5

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 20:13:08 -07:00
Yi Zhao
67c1b6c836 dracut: upgrade 102 -> 103
ChangeLog:
https://github.com/dracut-ng/dracut-ng/releases/tag/103

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 20:13:08 -07:00
Khem Raj
e3ab0d2439 libcereal: Fix build with clang-19
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 18:28:31 -07:00
Tom Geelen
d607c24e08 python3-pyjwt 2.8.0 -> 2.9.0
Updated name of PYPI_PACKAGE as it is renamed on pypi.org

Changelog: https://github.com/jpadilla/pyjwt/releases/tag/2.9.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 14:37:53 -07:00
Hauke Lampe
ba274e7310 postgresql: Use packageconfig flag for readline dependency
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 09:37:01 -07:00
Martin Jansa
0249db4dbb nmap: depend on libpcre2 not libpcre
* switched to libpcre2 in:
  828ab48764

* in builds hwere libpcre2 isn't pulled by some other dependency it was failing with:
| service_scan.h:74:10: fatal error: pcre2.h: No such file or directory                                                                                                                                                                       |    74 | #include <pcre2.h>                                                                                                                                                                                                                  |       |          ^~~~~~~~~|

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 09:34:15 -07:00
Einar Gunnarsson
f3f3e9b1b4 yavta: Update to kernel 6.8
Additional changes:
Use https protocol for git fetch
Build with meson

Signed-off-by: Einar Jon Gunnarsson <tolvupostur@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:42 -07:00
Wang Mingyu
cd69b51b61 xterm: upgrade 393 -> 394
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:42 -07:00
Wang Mingyu
2b071a777b xfsdump: upgrade 3.1.12 -> 3.2.0
Changelog:
===========
- don't use O_DIRECT on the RT device
- Fix memory leak
- suggest -x rather than assert for false roots in restore
- fix rootdir due to xfsdump bulkstat misuse

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:42 -07:00
Wang Mingyu
3b24cb3821 valijson: upgrade 1.0.2 -> 1.0.3
Changelog:
===========
- Fix typos in RapidJsonAdapter, only failing when certain features are used
- Added explicit default move constructors/operators
- Various cosmetic fixes
- Implemented functioning move constructors/operators
- Compatibility with boost-1.85.0
- Ability to customize regular expression engine

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:41 -07:00
Wang Mingyu
1095ad51bb uhubctl: upgrade 2.5.0 -> 2.6.0
Changelog:
=========
- Added support for Raspberry Pi 5
- Fixed bug for big-endian platforms
- Fixed sysfs path bug for Linux kernel 6.x or higher
- Added flash (inverted cycle) option - turn power on then off
- Improved Linux detection
- Added more devices to supported table

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:41 -07:00
Wang Mingyu
569c07e8a6 python3-zeroconf: upgrade 0.132.2 -> 0.134.0
Changelog:
============
- Improve performance when IP addresses change frequently
- Improve helpfulness of ServiceInfo.request assertions
- Improve performance of ip address caching
- Enable building of arm64 macOS builds
- Add classifier for python 3.13
- Python 3.13 support

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:41 -07:00
Wang Mingyu
c03e92b112 python3-yarl: upgrade 1.9.4 -> 1.10.0
Changelog:
==========
- Fixed joining a path when the existing path was empty
- Added :meth:URL.without_query_params() <yarl.URL.without_query_params> method,
  to drop some parameters from query string
- The previously protected types _SimpleQuery, _QueryVariable, and _Query are
  now available for use externally as SimpleQuery, QueryVariable, and Query
- Replaced all :class:~typing.Optional with :class:~typing.Union
- Significantly improved performance of parsing the network location
- Added internal types to the cache to prevent future refactoring errors

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:41 -07:00
Wang Mingyu
cb0f534890 python3-watchdog: upgrade 4.0.2 -> 5.0.2
Changelog:
===========
- Enable OS specific Mypy checks
- [watchmedo] Fix tricks argument type of schedule_tricks()
- [kqueue] Fix TypeError: kqueue.control() only accepts positional parameters
- Drop support for Python 3.8
- [core] Enforced usage of proper keyword-arguments
- [core] Renamed the BaseObserverSubclassCallable class to ObserverType
- [inotify] Renamed the inotify_event_struct class to InotifyEventStruct
- [inotify] Renamed the UnsupportedLibc exception to UnsupportedLibcError
- [inotify] Removed the InotifyConstants.IN_CLOSE constant
- [watchmedo] Renamed the LogLevelException exception to LogLevelError
- [watchmedo] Renamed the WatchdogShutdown exception to WatchdogShutdownError
- [windows] Renamed the FILE_NOTIFY_INFORMATION class to FileNotifyInformation
- [windows] Removed the unused WATCHDOG_TRAVERSE_MOVED_DIR_DELAY constant
- [core] Enable disallow_untyped_calls Mypy rule
- [core] Enable disallow_untyped_defs Mypy rule
- [core] Improve typing references for events
- [inotify] Add support for IN_CLOSE_NOWRITE events.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:41 -07:00
Wang Mingyu
6b9e92bb60 python3-virtualenv: upgrade 20.26.3 -> 20.26.4
Changelog:
==========
- Fix whitespace around backticks in changelog
- Test latest Python 3.13
- Fix typo in Nushell activation script
- GitHub Actions: Replace deprecated macos-12 with macos-13
- Fix #2728: Activating venv create unwanted console output
- Upgrade bundled wheels

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:41 -07:00
Wang Mingyu
64e1b89c2b python3-validators: upgrade 0.33.0 -> 0.34.0
Changelog:
===========
- feat: cache IANA TLDs for faster lookups
- chore: update dependencies
- docs: adds configuration info

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-10 07:20:40 -07:00