Aggregator

nodejs18-18.20.2-1.fc39

2 weeks ago
FEDORA-2024-8d548b8c96 Packages in this update:
  • nodejs18-18.20.2-1.fc39
Update description: 2024-04-10, Version 18.20.2 'Hydrogen' (LTS), @RafaelGSS

This is a security release.

Notable Changes
  • CVE-2024-27980 - Command injection via args parameter of child_process.spawn without shell option enabled on Windows
Commits

nodejs20-20.12.2-1.fc40

2 weeks ago
FEDORA-2024-2ffe03eaa6 Packages in this update:
  • nodejs20-20.12.2-1.fc40
Update description: 2024-04-03, Version 20.12.1 'Iron' (LTS), @RafaelGSS

This is a security release

Notable Changes
  • CVE-2024-27983 - Assertion failed in node::http2::Http2Session::\~Http2Session() leads to HTTP/2 server crash- (High)
  • CVE-2024-27982 - HTTP Request Smuggling via Content Length Obfuscation - (Medium)
  • llhttp version 9.2.1
  • undici version 5.28.4
Commits 2024-04-03, Version 20.12.1 'Iron' (LTS), @RafaelGSS

This is a security release

Notable Changes
  • CVE-2024-27983 - Assertion failed in node::http2::Http2Session::\~Http2Session() leads to HTTP/2 server crash- (High)
  • CVE-2024-27982 - HTTP Request Smuggling via Content Length Obfuscation - (Medium)
  • llhttp version 9.2.1
  • undici version 5.28.4
2024-03-26, Version 20.12.0 'Iron' (LTS), @richardlau Notable Changes crypto: implement crypto.hash()

This patch introduces a helper crypto.hash() that computes a digest from the input at one shot. This can be 1.2-2x faster than the object-based createHash() for smaller inputs (<= 5MB) that are readily available (not streamed) and incur less memory overhead since no intermediate objects will be created.

const crypto = require('node:crypto'); // Hashing a string and return the result as a hex-encoded string. const string = 'Node.js'; // 10b3493287f831e81a438811a1ffba01f8cec4b7 console.log(crypto.hash('sha1', string));

Contributed by Joyee Cheung in #51044.

Loading and parsing environment variables
  • process.loadEnvFile(path):
  • Use this function to load the .env file. If no path is specified, it automatically loads the .env file in the current directory. Example: process.loadEnvFile().
  • Load a specific .env file by specifying its path. Example: process.loadEnvFile('./development.env').

  • util.parseEnv(content):

  • Use this function to parse an existing string containing environment variable assignments.
  • Example usage: require('node:util').parseEnv('HELLO=world').

Contributed by Yagiz Nizipli in #51476.

New connection attempt events

Three new events were added in the net.createConnection flow:

  • connectionAttempt: Emitted when a new connection attempt is established. In case of Happy Eyeballs, this might emitted multiple times.
  • connectionAttemptFailed: Emitted when a connection attempt failed. In case of Happy Eyeballs, this might emitted multiple times.
  • connectionAttemptTimeout: Emitted when a connection attempt timed out. In case of Happy Eyeballs, this will not be emitted for the last attempt. This is not emitted at all if Happy Eyeballs is not used.

Additionally, a previous bug has been fixed where a new connection attempt could have been started after a previous one failed and after the connection was destroyed by the user. This led to a failed assertion.

Contributed by Paolo Insogna in #51045.

Permission Model changes

Node.js 20.12.0 comes with several fixes for the experimental permission model and two new semver-minor commits. We're adding a new flag --allow-addons to enable addon usage when using the Permission Model.

$ node --experimental-permission --allow-addons

Contributed by Rafael Gonzaga in #51183

And relative paths are now supported through the --allow-fs-* flags. Therefore, with this release one can use:

$ node --experimental-permission --allow-fs-read=./index.js

To give only read access to the entrypoint of the application.

Contributed by Rafael Gonzaga and Carlos Espa in #50758.

sea: support embedding assets

Users can now include assets by adding a key-path dictionary to the configuration as the assets field. At build time, Node.js would read the assets from the specified paths and bundle them into the preparation blob. In the generated executable, users can retrieve the assets using the sea.getAsset() and sea.getAssetAsBlob() API.

{ "main": "/path/to/bundled/script.js", "output": "/path/to/write/the/generated/blob.blob", "assets": { "a.jpg": "/path/to/a.jpg", "b.txt": "/path/to/b.txt" } }

The single-executable application can access the assets as follows:

const { getAsset } = require('node:sea'); // Returns a copy of the data in an ArrayBuffer const image = getAsset('a.jpg'); // Returns a string decoded from the asset as UTF8. const text = getAsset('b.txt', 'utf8'); // Returns a Blob containing the asset without copying. const blob = getAssetAsBlob('a.jpg');

Contributed by Joyee Cheung in #50960.

Support configurable snapshot through --build-snapshot-config flag

We are adding a new flag --build-snapshot-config to configure snapshots through a custom JSON configuration file.

$ node --build-snapshot-config=/path/to/myconfig.json

When using this flag, additional script files provided on the command line will not be executed and instead be interpreted as regular command line arguments.

These changes were contributed by Joyee Cheung and Anna Henningsen in #50453

Text Styling
  • util.styleText(format, text): This function returns a formatted text considering the format passed.

A new API has been created to format text based on util.inspect.colors, enabling you to style text in different colors (such as red, blue, ...) and emphasis (italic, bold, ...).

const { styleText } = require('node:util'); const errorMessage = styleText('red', 'Error! Error!'); console.log(errorMessage);

Contributed by Rafael Gonzaga in #51850.

vm: support using the default loader to handle dynamic import()

This patch adds support for using vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER as the importModuleDynamically option in all vm APIs that take this option except vm.SourceTextModule. This allows users to have a shortcut to support dynamic import() in the compiled code without missing the compilation cache if they don't need customization of the loading process. We emit an experimental warning when the import() is actually handled by the default loader through this option instead of requiring --experimental-vm-modules.

const { Script, constants } = require('node:vm'); const { resolve } = require('node:path'); const { writeFileSync } = require('node:fs'); // Write test.js and test.txt to the directory where the current script // being run is located. writeFileSync(resolve(__dirname, 'test.mjs'), 'export const filename = "./test.json";'); writeFileSync(resolve(__dirname, 'test.json'), '{"hello": "world"}'); // Compile a script that loads test.mjs and then test.json // as if the script is placed in the same directory. const script = new Script( `(async function() { const { filename } = await import('./test.mjs'); return import(filename, { with: { type: 'json' } }) })();`, { filename: resolve(__dirname, 'test-with-default.js'), importModuleDynamically: constants.USE_MAIN_CONTEXT_DEFAULT_LOADER, }); // { default: { hello: 'world' } } script.runInThisContext().then(console.log);

Contributed by Joyee Cheung in #51244.

Root certificates updated to NSS 3.98

Certificates added:

  • Telekom Security TLS ECC Root 2020
  • Telekom Security TLS RSA Root 2023

Certificates removed:

  • Security Communication Root CA
Updated dependencies
  • acorn updated to 8.11.3.
  • ada updated to 2.7.6.
  • base64 updated to 0.5.2.
  • brotli updated to 1.1.0.
  • c-ares updated to 1.27.0.
  • corepack updated to 0.25.2.
  • ICU updated to 74.2. Includes CLDR 44.1 and Unicode 15.1.
  • nghttp2 updated to 1.60.0.
  • npm updated to 10.5.0. Fixes a regression in signals not being passed onto child processes.
  • simdutf8 updated to 4.0.8.
  • Timezone updated to 2024a.
  • zlib updated to 1.3.0.1-motley-40e35a7.

Include Provides: nodejs20-* for non-versioned packages.

nodejs20-20.12.2-1.fc39

2 weeks ago
FEDORA-2024-e28ccc9c17 Packages in this update:
  • nodejs20-20.12.2-1.fc39
Update description: 2024-04-03, Version 20.12.1 'Iron' (LTS), @RafaelGSS

This is a security release

Notable Changes
  • CVE-2024-27983 - Assertion failed in node::http2::Http2Session::\~Http2Session() leads to HTTP/2 server crash- (High)
  • CVE-2024-27982 - HTTP Request Smuggling via Content Length Obfuscation - (Medium)
  • llhttp version 9.2.1
  • undici version 5.28.4
Commits 2024-04-03, Version 20.12.1 'Iron' (LTS), @RafaelGSS

This is a security release

Notable Changes
  • CVE-2024-27983 - Assertion failed in node::http2::Http2Session::\~Http2Session() leads to HTTP/2 server crash- (High)
  • CVE-2024-27982 - HTTP Request Smuggling via Content Length Obfuscation - (Medium)
  • llhttp version 9.2.1
  • undici version 5.28.4

USN-6728-2: Squid regression

2 weeks ago
USN-6728-1 fixed vulnerabilities in Squid. The fix for CVE-2023-5824 caused Squid to crash in certain environments on Ubuntu 20.04 LTS. The problematic fix has been reverted pending further investigation. We apologize for the inconvenience. Original advisory details: Joshua Rogers discovered that Squid incorrectly handled collapsed forwarding. A remote attacker could possibly use this issue to cause Squid to crash, resulting in a denial of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-49288) Joshua Rogers discovered that Squid incorrectly handled certain structural elements. A remote attacker could possibly use this issue to cause Squid to crash, resulting in a denial of service. (CVE-2023-5824) Joshua Rogers discovered that Squid incorrectly handled Cache Manager error responses. A remote trusted client can possibly use this issue to cause Squid to crash, resulting in a denial of service. (CVE-2024-23638) Joshua Rogers discovered that Squid incorrectly handled the HTTP Chunked decoder. A remote attacker could possibly use this issue to cause Squid to stop responding, resulting in a denial of service. (CVE-2024-25111) Joshua Rogers discovered that Squid incorrectly handled HTTP header parsing. A remote trusted client can possibly use this issue to cause Squid to crash, resulting in a denial of service. (CVE-2024-25617)

python-django3-3.2.25-1.el9

2 weeks 1 day ago
FEDORA-EPEL-2024-76d6941f10 Packages in this update:
  • python-django3-3.2.25-1.el9
Update description:

Security fixes for

  • CVE-2024-27351 Potential regular expression DOS in django.utils.text.Truncator.words()
  • CVE-2023-41164 Potential DOS vulnerability in django.utils.encoding.uri_to_iri()

kernel-6.8.5-101.fc38

2 weeks 1 day ago
FEDORA-2024-a56a47ef1b Packages in this update:
  • kernel-6.8.5-101.fc38
Update description:

The 6.8.5 stable kernel update contains a number of important fixes across the tree.

kernel-6.8.5-201.fc39

2 weeks 1 day ago
FEDORA-2024-33a9ea72d1 Packages in this update:
  • kernel-6.8.5-201.fc39
Update description:

The 6.8.5 stable kernel update contains a number of important fixes across the tree.

kernel-6.8.5-301.fc40

2 weeks 1 day ago
FEDORA-2024-6d35739db7 Packages in this update:
  • kernel-6.8.5-301.fc40
Update description:

The 6.8.5 stable kernel update contains a number of important fixes across the tree.

xen-4.17.4-1.fc38

2 weeks 1 day ago
FEDORA-2024-a676697123 Packages in this update:
  • xen-4.17.4-1.fc38
Update description:

x86: Native Branch History Injection [XSA-456, CVE-2024-2201] update to xen 4.17.4, remove patches now included upstream rebase xen.gcc12.fixes.patch x86 HVM hypercalls may trigger Xen bug check [XSA-454, CVE-2023-46842] x86: Incorrect logic for BTC/SRSO mitigations [XSA-455, CVE-2024-31142]

USN-6728-1: Squid vulnerabilities

2 weeks 1 day ago
Joshua Rogers discovered that Squid incorrectly handled collapsed forwarding. A remote attacker could possibly use this issue to cause Squid to crash, resulting in a denial of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-49288) Joshua Rogers discovered that Squid incorrectly handled certain structural elements. A remote attacker could possibly use this issue to cause Squid to crash, resulting in a denial of service. (CVE-2023-5824) Joshua Rogers discovered that Squid incorrectly handled Cache Manager error responses. A remote trusted client can possibly use this issue to cause Squid to crash, resulting in a denial of service. (CVE-2024-23638) Joshua Rogers discovered that Squid incorrectly handled the HTTP Chunked decoder. A remote attacker could possibly use this issue to cause Squid to stop responding, resulting in a denial of service. (CVE-2024-25111) Joshua Rogers discovered that Squid incorrectly handled HTTP header parsing. A remote trusted client can possibly use this issue to cause Squid to crash, resulting in a denial of service. (CVE-2024-25617)

google-guest-agent-20240314.00-4.fc41

2 weeks 1 day ago
FEDORA-2024-74c4c65ff6 Packages in this update:
  • google-guest-agent-20240314.00-4.fc41
Update description:

Automatic update for google-guest-agent-20240314.00-4.fc41.

Changelog * Wed Apr 10 2024 Major Hayden <major@redhat.com> - 20240314.00-4 - Skip events test * Wed Apr 10 2024 Major Hayden <major@redhat.com> - 20240314.00-3 - Fix typo in License filename * Wed Apr 10 2024 Major Hayden <major@redhat.com> - 20240314.00-2 - Sync packit config with other GCP pkgs * Wed Apr 10 2024 Major Hayden <major@redhat.com> - 20240314.00-1 - Update to 20240314.00 rhbz#2274184 * Wed Apr 10 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20230726.00-8 - Unretirement Releng Request: https://pagure.io/releng/issue/12057 * Sun Feb 11 2024 Maxwell G <maxwell@gtmx.me> - 20230726.00-7 - Rebuild for golang 1.22.0 * Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20230726.00-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20230726.00-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Sep 6 2023 Major Hayden <major@redhat.com> - 20230726.00-4 - PRs to rawhide only * Fri Jul 28 2023 Major Hayden <major@redhat.com> - 20230726.00-3 - Fix typo on ppc64le * Fri Jul 28 2023 Major Hayden <major@redhat.com> - 20230726.00-2 - Disable ppc64/s390x arches * Fri Jul 28 2023 Packit <hello@packit.dev> - 20230726.00-1 - [packit] 20230726.00 upstream release * Tue Jul 25 2023 Major Hayden <major@redhat.com> - 20230725.00-2 - Disable koji auto build with packit * Tue Jul 25 2023 Packit <hello@packit.dev> - 20230725.00-1 - [packit] 20230725.00 upstream release * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20230711.00-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 12 2023 Major Hayden <major@redhat.com> - 20230711.00-1 - Update to 20230711.00 rhbz#2222161 * Wed Jul 12 2023 Major Hayden <major@redhat.com> - 20230707.00-2 - Add packit config 🤖 * Tue Jul 11 2023 Major Hayden <major@redhat.com> - 20230707.00-1 - Update to 20230707.00 rhbz#2221432 * Mon Jul 3 2023 Major Hayden <major@redhat.com> - 20230628.00-1 - Update to 20230628.00 rhbz#2218708 * Wed Jun 28 2023 Major Hayden <major@redhat.com> - 20230626.00-1 - Update to 20230626.00 rhbz#2218220 * Mon Jun 12 2023 Major Hayden <major@redhat.com> - 20230601.00-1 - Update to 20230601.00 rhbz#2211674 * Thu May 18 2023 Major Hayden <major@redhat.com> - 20230517.00-1 - Update to 20230517.00 rhbz#2208103 * Mon May 15 2023 Major Hayden <major@redhat.com> - 20230510.00-1 - Update to 20230510.00 rhbz#2198979 * Mon May 1 2023 Major Hayden <major@redhat.com> - 20230426.00-1 - Update to 20230426.00 rhbz#2190065 * Thu Apr 6 2023 Major Hayden <major@redhat.com> - 20230403.00-1 - Update to 20230403.00 rhbz#2183053 * Tue Mar 28 2023 Major Hayden <major@redhat.com> - 20230221.00-2 - Bump revision for rebuild rhbz#2178465 * Tue Feb 28 2023 Major Hayden <major@redhat.com> - 20230221.00-1 - Update to 20230221.00 rhbz#2172749 * Wed Feb 22 2023 Major Hayden <major@redhat.com> - 20230207.00-2 - Set SPDX license * Mon Feb 13 2023 Major Hayden <major@redhat.com> - 20230207.00-1 - Update to 20230207.00 rhbz#2160637 * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20221109.00-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 14 2022 Major Hayden <major@redhat.com> - 20221109.00-1 - Update to 20221109.00 rhbz#2140412 * Wed Oct 26 2022 Major Hayden <major@redhat.com> - 20221025.00-1 - Update to 20221025.00 rhbz#2136314 * Wed Oct 12 2022 Major Hayden <major@redhat.com> - 20220927.00-1 - Update to 20220927.00 rhbz#2130931 * Thu Aug 25 2022 Major Hayden <major@redhat.com> - 20220824.00-1 - Update to 20220824.00 rhbz#2120895 * Thu Aug 18 2022 Major Hayden <major@redhat.com> - 20220816.01-1 - Update to 20220816.01 rhbz#2119456 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20201217.02-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Maxwell G <gotmax@e.email> - 20201217.02-5 - Rebuild for CVE-2022-{1705,32148,30631,30633,28131,30635,30632,30630,1962} in golang * Sat Jun 18 2022 Robert-André Mauchin <zebob.m@gmail.com> - 20201217.02-4 - Rebuilt for CVE-2022-1996, CVE-2022-24675, CVE-2022-28327, CVE-2022-27191, CVE-2022-29526, CVE-2022-30629

perl-Clipboard-0.29-1.el8

2 weeks 1 day ago
FEDORA-EPEL-2024-f060b59d26 Packages in this update:
  • perl-Clipboard-0.29-1.el8
Update description:

Update to 0.29 - Fixes 'clipbrowse command execution with multi-line clipboard text including "| sh"'

perl-Clipboard-0.29-1.el7

2 weeks 1 day ago
FEDORA-EPEL-2024-a8b1cd8e52 Packages in this update:
  • perl-Clipboard-0.29-1.el7
Update description:

Update to 0.29 - Fixes 'clipbrowse command execution with multi-line clipboard text including "| sh"'

perl-Clipboard-0.29-1.el9

2 weeks 1 day ago
FEDORA-EPEL-2024-6ebc36e81d Packages in this update:
  • perl-Clipboard-0.29-1.el9
Update description:

Update to 0.29 - Fixes 'clipbrowse command execution with multi-line clipboard text including "| sh"'

perl-Clipboard-0.29-1.fc39

2 weeks 1 day ago
FEDORA-2024-43a0920f12 Packages in this update:
  • perl-Clipboard-0.29-1.fc39
Update description:

Update to 0.29 - Fixes 'clipbrowse command execution with multi-line clipboard text including "| sh"'

perl-Clipboard-0.29-1.fc40

2 weeks 1 day ago
FEDORA-2024-2843f37353 Packages in this update:
  • perl-Clipboard-0.29-1.fc40
Update description:

Update to 0.29 - Fixes 'clipbrowse command execution with multi-line clipboard text including "| sh"'