Your message dated Sat, 06 Sep 2025 12:14:50 +0100 with message-id <ee4c0876608d99eb3f8b333b556fbd92e7a652eb.camel@adam-barratt.org.uk> and subject line Closing p-u requests for fixes included in 12.12 has caused the Debian Bug report #1107568, regarding bookworm-pu: package node-tar-fs/2.1.3-0+deb12u1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1107568: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107568 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: bookworm-pu: package node-tar-fs/2.1.3-0+deb12u1
- From: Adrian Bunk <bunk@debian.org>
- Date: Mon, 09 Jun 2025 23:27:12 +0300
- Message-id: <174950083287.1723463.4822215054425540703.reportbug@localhost>
Package: release.debian.org Severity: normal Tags: bookworm moreinfo User: release.debian.org@packages.debian.org Usertags: pu X-Debbugs-Cc: security@debian.org, Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> * New upstream release. - CVE-2024-12905: symlink path traversal (Closes: #1101501) - CVE-2025-48387: hardlink path traversal The two new upstream releases contain each just one CVE fix. Tagged moreinfo, as question to the security team whether they want this in pu or as DSA.diffstat for node-tar-fs-2.1.1 node-tar-fs-2.1.3 debian/changelog | 9 +++++++++ index.js | 19 +++++++++++++------ package.json | 2 +- test/index.js | 2 +- 4 files changed, 24 insertions(+), 8 deletions(-) diff -Nru node-tar-fs-2.1.1/debian/changelog node-tar-fs-2.1.3/debian/changelog --- node-tar-fs-2.1.1/debian/changelog 2021-11-02 18:56:17.000000000 +0200 +++ node-tar-fs-2.1.3/debian/changelog 2025-06-09 22:02:36.000000000 +0300 @@ -1,3 +1,12 @@ +node-tar-fs (2.1.3-0+deb12u1) bookworm; urgency=medium + + * Non-maintainer upload. + * New upstream release. + - CVE-2024-12905: symlink path traversal (Closes: #1101501) + - CVE-2025-48387: hardlink path traversal + + -- Adrian Bunk <bunk@debian.org> Mon, 09 Jun 2025 22:02:36 +0300 + node-tar-fs (2.1.1-6) unstable; urgency=medium * Team upload diff -Nru node-tar-fs-2.1.1/index.js node-tar-fs-2.1.3/index.js --- node-tar-fs-2.1.1/index.js 2020-11-06 20:43:33.000000000 +0200 +++ node-tar-fs-2.1.3/index.js 2025-05-22 22:22:41.000000000 +0300 @@ -260,6 +260,9 @@ var onsymlink = function () { if (win32) return next() // skip symlinks on win for now before it can be tested xfs.unlink(name, function () { + var dst = path.resolve(path.dirname(name), header.linkname) + if (!dst.startsWith(path.resolve(cwd))) return next(new Error(name + ' is not a valid symlink')) + xfs.symlink(header.linkname, name, stat) }) } @@ -269,13 +272,17 @@ xfs.unlink(name, function () { var srcpath = path.join(cwd, path.join('/', header.linkname)) - xfs.link(srcpath, name, function (err) { - if (err && err.code === 'EPERM' && opts.hardlinkAsFilesFallback) { - stream = xfs.createReadStream(srcpath) - return onfile() - } + xfs.realpath(srcpath, function (err, dst) { + if (err || !dst.startsWith(path.resolve(cwd))) return next(new Error(name + ' is not a valid hardlink')) + + xfs.link(dst, name, function (err) { + if (err && err.code === 'EPERM' && opts.hardlinkAsFilesFallback) { + stream = xfs.createReadStream(srcpath) + return onfile() + } - stat(err) + stat(err) + }) }) }) } diff -Nru node-tar-fs-2.1.1/package.json node-tar-fs-2.1.3/package.json --- node-tar-fs-2.1.1/package.json 2020-11-06 20:43:33.000000000 +0200 +++ node-tar-fs-2.1.3/package.json 2025-05-22 22:22:41.000000000 +0300 @@ -1,6 +1,6 @@ { "name": "tar-fs", - "version": "2.1.1", + "version": "2.1.3", "description": "filesystem bindings for tar-stream", "dependencies": { "chownr": "^1.1.1", diff -Nru node-tar-fs-2.1.1/test/index.js node-tar-fs-2.1.3/test/index.js --- node-tar-fs-2.1.1/test/index.js 2020-11-06 20:43:33.000000000 +0200 +++ node-tar-fs-2.1.3/test/index.js 2025-05-22 22:22:41.000000000 +0300 @@ -304,7 +304,7 @@ fs.createReadStream(a) .pipe(tar.extract(out)) .on('error', function (err) { - t.ok(/is not a valid path/i.test(err.message)) + t.ok(/is not a valid symlink/i.test(err.message)) fs.stat(path.join(out, '../bar'), function (err) { t.ok(err) t.end()
--- End Message ---
--- Begin Message ---
- To: 1086622-done@bugs.debian.org, 1098225-done@bugs.debian.org, 1098229-done@bugs.debian.org, 1098783-done@bugs.debian.org, 1100607-done@bugs.debian.org, 1100960-done@bugs.debian.org, 1101144-done@bugs.debian.org, 1102091-done@bugs.debian.org, 1102675-done@bugs.debian.org, 1102752-done@bugs.debian.org, 1103926-done@bugs.debian.org, 1103927-done@bugs.debian.org, 1104028-done@bugs.debian.org, 1104154-done@bugs.debian.org, 1104821-done@bugs.debian.org, 1104874-done@bugs.debian.org, 1104882-done@bugs.debian.org, 1105009-done@bugs.debian.org, 1105113-done@bugs.debian.org, 1105816-done@bugs.debian.org, 1105888-done@bugs.debian.org, 1105957-done@bugs.debian.org, 1105971-done@bugs.debian.org, 1105996-done@bugs.debian.org, 1106300-done@bugs.debian.org, 1106328-done@bugs.debian.org, 1106348-done@bugs.debian.org, 1106536-done@bugs.debian.org, 1106721-done@bugs.debian.org, 1106756-done@bugs.debian.org, 1106761-done@bugs.debian.org, 1106867-done@bugs.debian.org, 1107069-done@bugs.debian.org, 1107116-done@bugs.debian.org, 1107147-done@bugs.debian.org, 1107217-done@bugs.debian.org, 1107252-done@bugs.debian.org, 1107253-done@bugs.debian.org, 1107568-done@bugs.debian.org, 1107852-done@bugs.debian.org, 1107902-done@bugs.debian.org, 1108122-done@bugs.debian.org, 1108127-done@bugs.debian.org, 1108137-done@bugs.debian.org, 1108185-done@bugs.debian.org, 1108308-done@bugs.debian.org, 1108353-done@bugs.debian.org, 1108504-done@bugs.debian.org, 1108508-done@bugs.debian.org, 1108543-done@bugs.debian.org, 1108548-done@bugs.debian.org, 1108921-done@bugs.debian.org, 1109012-done@bugs.debian.org, 1109034-done@bugs.debian.org, 1109084-done@bugs.debian.org, 1109087-done@bugs.debian.org, 1109095-done@bugs.debian.org, 1109127-done@bugs.debian.org, 1109147-done@bugs.debian.org, 1109207-done@bugs.debian.org, 1109545-done@bugs.debian.org, 1109611-done@bugs.debian.org, 1109763-done@bugs.debian.org, 1109819-done@bugs.debian.org, 1109943-done@bugs.debian.org, 1109945-done@bugs.debian.org, 1109947-done@bugs.debian.org, 1109995-done@bugs.debian.org, 1110034-done@bugs.debian.org, 1110080-done@bugs.debian.org, 1110114-done@bugs.debian.org, 1110340-done@bugs.debian.org, 1110489-done@bugs.debian.org, 1110643-done@bugs.debian.org, 1110686-done@bugs.debian.org, 1110813-done@bugs.debian.org, 1111034-done@bugs.debian.org, 1111076-done@bugs.debian.org, 1111426-done@bugs.debian.org, 1111486-done@bugs.debian.org, 1111600-done@bugs.debian.org, 1111607-done@bugs.debian.org, 1111653-done@bugs.debian.org, 1111666-done@bugs.debian.org, 1111835-done@bugs.debian.org, 1111859-done@bugs.debian.org, 1111924-done@bugs.debian.org, 1111959-done@bugs.debian.org, 1111966-done@bugs.debian.org, 1111969-done@bugs.debian.org, 1111987-done@bugs.debian.org, 1111989-done@bugs.debian.org, 1112039-done@bugs.debian.org, 1112053-done@bugs.debian.org, 1112070-done@bugs.debian.org, 1112074-done@bugs.debian.org, 1112124-done@bugs.debian.org, 1112129-done@bugs.debian.org, 1112141-done@bugs.debian.org, 1112195-done@bugs.debian.org, 1112239-done@bugs.debian.org, 1112252-done@bugs.debian.org, 1112340-done@bugs.debian.org, 1112347-done@bugs.debian.org, 1112368-done@bugs.debian.org, 1112449-done@bugs.debian.org, 1112459-done@bugs.debian.org, 1112467-done@bugs.debian.org, 1112542-done@bugs.debian.org
- Subject: Closing p-u requests for fixes included in 12.12
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 06 Sep 2025 12:14:50 +0100
- Message-id: <ee4c0876608d99eb3f8b333b556fbd92e7a652eb.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 12.12 Hi, Each of the updates referenced by these requests was included in today's 12.12 point release for bookworm. Regards, Adam
--- End Message ---