Commit b4b887c
committed
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 fc996fd commit b4b887cCopy full SHA for b4b887c
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 |
|---|---|---|
| ||
1223 | 1223 | |
1224 | 1224 | |
1225 | 1225 | |
| 1226 | + |
| 1227 | + |
| 1228 | + |
| 1229 | + |
| 1230 | + |
1226 | 1231 | |
1227 | 1232 | |
1228 | 1233 | |
| ||
1234 | 1239 | |
1235 | 1240 | |
1236 | 1241 | |
| 1242 | + |
| 1243 | + |
| 1244 | + |
1237 | 1245 | |
1238 | 1246 | |
1239 | 1247 | |
| ||
1247 | 1255 | |
1248 | 1256 | |
1249 | 1257 | |
| 1258 | + |
| 1259 | + |
| 1260 | + |
| 1261 | + |
1250 | 1262 | |
1251 | 1263 | |
1252 | 1264 | |
| ||
1257 | 1269 | |
1258 | 1270 | |
1259 | 1271 | |
| 1272 | + |
| 1273 | + |
| 1274 | + |
1260 | 1275 | |
1261 | 1276 | |
1262 | 1277 | |
| ||
2187 | 2202 | |
2188 | 2203 | |
2189 | 2204 | |
| 2205 | + |
| 2206 | + |
| 2207 | + |
| 2208 | + |
| 2209 | + |
2190 | 2210 | |
2191 | 2211 | |
2192 | 2212 | |
| ||
2202 | 2222 | |
2203 | 2223 | |
2204 | 2224 | |
| 2225 | + |
| 2226 | + |
| 2227 | + |
| 2228 | + |
2205 | 2229 | |
2206 | 2230 | |
2207 | 2231 | |
|
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 |
|---|---|---|
| ||
584 | 584 | |
585 | 585 | |
586 | 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 | + |
| 621 | + |
| 622 | + |
| 623 | + |
| 624 | + |
| 625 | + |
| 626 | + |
| 627 | + |
| 628 | + |
| 629 | + |
| 630 | + |
| 631 | + |
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 |
|---|---|---|
| ||
82 | 82 | |
83 | 83 | |
84 | 84 | |
85 | | - |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
86 | 101 | |
87 | 102 | |
88 | 103 | |
|
0 commit comments