Commit ebbf942
lib: disable futimes when permission model is enabled
Refs: https://hackerone.com/reports/3390084
PR-URL: nodejs-private/node-private#748
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
CVE-ID: CVE-2025-551321 parent c611ea6 commit ebbf942Copy full SHA for ebbf942
File tree
Expand file treeCollapse file tree
3 files changed
+85
-1
lines changedOpen diff view settings
Filter options
- lib
- test
- fixtures/permission
- parallel
Expand file treeCollapse file tree
3 files changed
+85
-1
lines changedOpen diff view settings
Collapse file
+24Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1261 | 1261 | |
1262 | 1262 | |
1263 | 1263 | |
| 1264 | + |
| 1265 | + |
| 1266 | + |
| 1267 | + |
| 1268 | + |
1264 | 1269 | |
1265 | 1270 | |
1266 | 1271 | |
| ||
1272 | 1277 | |
1273 | 1278 | |
1274 | 1279 | |
| 1280 | + |
| 1281 | + |
| 1282 | + |
1275 | 1283 | |
1276 | 1284 | |
1277 | 1285 | |
| ||
1285 | 1293 | |
1286 | 1294 | |
1287 | 1295 | |
| 1296 | + |
| 1297 | + |
| 1298 | + |
| 1299 | + |
1288 | 1300 | |
1289 | 1301 | |
1290 | 1302 | |
| ||
1295 | 1307 | |
1296 | 1308 | |
1297 | 1309 | |
| 1310 | + |
| 1311 | + |
| 1312 | + |
1298 | 1313 | |
1299 | 1314 | |
1300 | 1315 | |
| ||
2221 | 2236 | |
2222 | 2237 | |
2223 | 2238 | |
| 2239 | + |
| 2240 | + |
| 2241 | + |
| 2242 | + |
| 2243 | + |
2224 | 2244 | |
2225 | 2245 | |
2226 | 2246 | |
| ||
2236 | 2256 | |
2237 | 2257 | |
2238 | 2258 | |
| 2259 | + |
| 2260 | + |
| 2261 | + |
| 2262 | + |
2239 | 2263 | |
2240 | 2264 | |
2241 | 2265 | |
|
Collapse file
test/fixtures/permission/fs-write.js
Copy file name to clipboardExpand all lines: test/fixtures/permission/fs-write.js+45Lines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
573 | 573 | |
574 | 574 | |
575 | 575 | |
| 576 | + |
| 577 | + |
| 578 | + |
| 579 | + |
| 580 | + |
| 581 | + |
| 582 | + |
| 583 | + |
| 584 | + |
| 585 | + |
| 586 | + |
| 587 | + |
| 588 | + |
| 589 | + |
| 590 | + |
| 591 | + |
| 592 | + |
| 593 | + |
| 594 | + |
| 595 | + |
| 596 | + |
| 597 | + |
| 598 | + |
| 599 | + |
| 600 | + |
| 601 | + |
| 602 | + |
| 603 | + |
| 604 | + |
| 605 | + |
| 606 | + |
| 607 | + |
| 608 | + |
| 609 | + |
| 610 | + |
| 611 | + |
| 612 | + |
| 613 | + |
| 614 | + |
| 615 | + |
| 616 | + |
| 617 | + |
| 618 | + |
| 619 | + |
| 620 | + |
Collapse file
test/parallel/test-permission-fs-supported.js
Copy file name to clipboardExpand all lines: test/parallel/test-permission-fs-supported.js+16-1Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
77 | 77 | |
78 | 78 | |
79 | 79 | |
80 | | - |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
81 | 96 | |
82 | 97 | |
83 | 98 | |
|
0 commit comments