<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/package/utils, branch v22.03.3</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v22.03.3</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v22.03.3'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2023-01-01T20:42:41Z</updated>
<entry>
<title>treewide: Trigger reinstall of all wolfssl dependencies</title>
<updated>2023-01-01T20:42:41Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2022-12-31T18:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=2f1b73b70dcc9b7c73142205a530309a25b8410d'/>
<id>urn:sha1:2f1b73b70dcc9b7c73142205a530309a25b8410d</id>
<content type='text'>
The ABI of the wolfssl library changed a bit between version 5.5.3 and
5.5.4. This release update will trigger a rebuild of all packages which
are using wolfssl to make sure they are adapted to the new ABI.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit ee47a28cec01c7943238bae45f65a98e4fc9abbe)
</content>
</entry>
<entry>
<title>e2fsprogs: Fix CVE-2022-1304</title>
<updated>2022-12-06T22:29:14Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2022-12-05T23:17:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=1a0f2c3a3ecb19f65bdc269818ed373958d032e6'/>
<id>urn:sha1:1a0f2c3a3ecb19f65bdc269818ed373958d032e6</id>
<content type='text'>
This fixes CVE-2022-1304:
An out-of-bounds read/write vulnerability was found in e2fsprogs 1.46.5.
This issue leads to a segmentation fault and possibly arbitrary code
execution via a specially crafted filesystem.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit 60e335b76ea0aeedd9f8e01d247f9aaa617076da)
</content>
</entry>
<entry>
<title>ucode: update to latest Git HEAD</title>
<updated>2022-12-06T10:45:12Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-11-23T13:15:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=eb639e54fcbe03d9fda99e2d3e60b2d53658bab5'/>
<id>urn:sha1:eb639e54fcbe03d9fda99e2d3e60b2d53658bab5</id>
<content type='text'>
46d93c9 tests: fixup testcases
4c654df types: adjust double printing format
eac2add compiler: fix bytecode for logical assignments of properties
3903b18 fs: add `realpath()` function
8366102 math: add isnan() function
eef83d3 tests: relax sleep() test
394e901 lib: uc_json(): accept trailing whitespace when parsing strings
1867c8b uloop: terminate parent uloop in task child processes
d2cc003 uci: auto-load package in `ctx.foreach()` and `ctx.get_first()`
6c5ee53 compiler: ensure that arrow functions with block bodies return no value
fdc9b6a compiler: fix `??=`, `||=` and `&amp;&amp;=` logical assignment semantics
88dcca7 add cmake to install requires for debian

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit a4d67066e39bd93c7011c8e07b740a326e4e9803)
</content>
</entry>
<entry>
<title>busybox: awk: fix use after free (CVE-2022-30065)</title>
<updated>2022-11-05T21:43:45Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2022-11-01T14:23:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=13bd217821e766110298498d0b73c4394e3330bd'/>
<id>urn:sha1:13bd217821e766110298498d0b73c4394e3330bd</id>
<content type='text'>
This backports a commit which fixes a use after free bug in awk.

CVE-2022-30065 description:
A use-after-free in Busybox 1.35-x's awk applet leads to denial of
service and possibly code execution when processing a crafted awk
pattern in the copyvar function.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit 8b383ee2a0d21144258346ad39006fc499d04b4f)
</content>
</entry>
<entry>
<title>util-linux: Update to version 2.37.4</title>
<updated>2022-11-05T21:42:08Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2022-11-01T14:38:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=fe5cd3c9d97caf8c201c0c9953cfd52bec071108'/>
<id>urn:sha1:fe5cd3c9d97caf8c201c0c9953cfd52bec071108</id>
<content type='text'>
This update contains only a security fix for an issue in chsh and chfn,
but OpenWrt is not packaging these applications so OpenWrt is not
affected. In OpenWrt master this was already fixed by the update to
util-linux 2.38.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>ucode: update to latest Git HEAD</title>
<updated>2022-10-18T09:26:21Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-10-18T09:06:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f59dcb92cf253853056f728bfe46af7e4a56867a'/>
<id>urn:sha1:f59dcb92cf253853056f728bfe46af7e4a56867a</id>
<content type='text'>
00af065 fs: expose `getdelim()` functionality through `fd.read()`
21ace5e lexer: fixes for regex literal parsing

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit 1b90c7441b81aee7b1212e8918e3ec7144375d96)
</content>
</entry>
<entry>
<title>ucode: update to latest Git HEAD</title>
<updated>2022-10-14T22:43:22Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2022-09-05T08:50:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=30de1b503121ff74bec776ea22acf2be412da122'/>
<id>urn:sha1:30de1b503121ff74bec776ea22acf2be412da122</id>
<content type='text'>
4ae7072 fs: use `getline()` for line wise read operations
21ace5e lexer: fixes for regex literal parsing
00965fa lib: implement slice() function
76d396d main: implement print mode
7bbba78 compiler: optimize function return opcode generation
a45f2a3 lexer: improve regex literal handling
d64d5d6 vm: maintain export symbol tables per program
f4b4ded uloop: task: gracefully handle absent output callback
a58fe47 ubus: hold reference to underlying connection until deferred is concluded
e23b58a lib: uc_system(): retry waitpid() on EINTR
cc4eb79 ubus: support obtaining numeric error code
01c412c ubus: add toplevel constants for ubus status codes
8e240fa ubus: allow object method call handlers to return a numeric status code
5cdddd3 lib: add limit support to split() and replace()
0ba9c3e fs: add optional third permission argument to fs.open()
c1f7b3b lib: remove fixed capture group limit in match() and regex replace()

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(backported from commits 639754e36d849553e288f8e34f51f793761c07db
 and 5110dcb1fa44fc1aac737c63b31474daa471de89)
</content>
</entry>
<entry>
<title>ramips: add support for ZyXEL NWA50AX / NWA55AXE</title>
<updated>2022-10-14T21:14:50Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2022-05-27T15:48:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=2050bc4f64e3824d6a632cce5fabc0b816ea0508'/>
<id>urn:sha1:2050bc4f64e3824d6a632cce5fabc0b816ea0508</id>
<content type='text'>
Hardware
--------
CPU:    Mediatek MT7621
RAM:    256M DDR3
FLASH:  128M NAND
ETH:    1x Gigabit Ethernet
WiFi:   Mediatek MT7915 (2.4/5GHz 802.11ax 2x2 DBDC)
BTN:    1x Reset (NWA50AX only)
LED:    1x Multi-Color (NWA50AX only)

UART Console
------------
NWA50AX:
Available below the rubber cover next to the ethernet port.
NWA55AXE:
Available on the board when disassembling the device.

Settings: 115200 8N1

Layout:

&lt;12V&gt; &lt;LAN&gt; GND-RX-TX-VCC

Logic-Level is 3V3. Don't connect VCC to your UART adapter!

Installation Web-UI
-------------------
Upload the Factory image using the devices Web-Interface.

As the device uses a dual-image partition layout, OpenWrt can only
installed on Slot A. This requires the current active image prior
flashing the device to be on Slot B.

If the currently installed image is started from Slot A, the device will
flash OpenWrt to Slot B. OpenWrt will panic upon first boot in this case
and the device will return to the ZyXEL firmware upon next boot.

If this happens, first install a ZyXEL firmware upgrade of any version
and install OpenWrt after that.

Installation TFTP
-----------------
This installation routine is especially useful in case
 * unknown device password (NWA55AXE lacks reset button)
 * bricked device

Attach to the UART console header of the device. Interrupt the boot
procedure by pressing Enter.

The bootloader has a reduced command-set available from CLI, but more
commands can be executed by abusing the atns command.

Boot a OpenWrt initramfs image available on a TFTP server at
192.168.1.66. Rename the image to owrt.bin

 $ atnf owrt.bin
 $ atna 192.168.1.88
 $ atns "192.168.1.66; tftpboot; bootm"

Upon booting, set the booted image to the correct slot:

 $ zyxel-bootconfig /dev/mtd10 get-status
 $ zyxel-bootconfig /dev/mtd10 set-image-status 0 valid
 $ zyxel-bootconfig /dev/mtd10 set-active-image 0

Copy the OpenWrt ramboot-factory image to the device using scp.
Write the factory image to NAND and reboot the device.

 $ mtd write ramboot-factory.bin firmware
 $ reboot

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
(cherry picked from commit a0b7fef0ffe4cd9cca39a652a37e4f3ce8f0a681)
</content>
</entry>
<entry>
<title>busybox: nslookup: ensure unique transaction IDs for the DNS queries</title>
<updated>2022-10-14T19:10:54Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2022-10-14T10:23:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=bc8e24c654050d7fcafd8d6f179bf1ffdf6045fa'/>
<id>urn:sha1:bc8e24c654050d7fcafd8d6f179bf1ffdf6045fa</id>
<content type='text'>
On machines with a coarse monotonic clock (here: TP-Link RE200 powered
by a MediaTek MT7620A) it can happen that the two DNS requests (for A
and AAAA) share the same transaction ID. If this happens the second
reply is wrongly dropped and nslookup reports "No answer".

Fix this by ensuring that the transaction IDs are unique.

Signed-off-by: Uwe Kleine-König &lt;uwe@kleine-koenig.org&gt;
(cherry picked from commit 63e5ba8e69f03a584b707520db0a0821eda3024f)
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: fix security issues by bumping all packages using libwolfssl</title>
<updated>2022-10-04T08:11:08Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2022-09-29T16:45:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=562894b39da381264a34ce31e9334c8a036fa139'/>
<id>urn:sha1:562894b39da381264a34ce31e9334c8a036fa139</id>
<content type='text'>
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.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
(cherry picked from commit f1b7e1434f66a3cb09cb9e70b40add354a22e458)
</content>
</entry>
</feed>
