NFSD: copy SETXATTR data from all XDR buffer segments
NIST has received this entry but not started reviewing it.
In the Linux kernel, the following vulnerability has been resolved: NFSD: copy SETXATTR data from all XDR buffer segments nfsd4_vbuf_from_vector() manually copies the head followed by whole pages starting at offset zero. This assumes that all remaining data starts at the beginning of the page array and that no data is stored in the tail. However, nfsd4_decode_setxattr() passes an xdr_buf returned by xdr_stream_subsegment(). Such a sub-buffer can have a nonzero page_base and can span its page and tail segments. Ignoring that layout can copy the wrong bytes into the value passed to vfs_setxattr(). Use read_bytes_from_xdr_buf(), which observes the complete xdr_buf layout.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Linux Linux | Software | from bbb0a710a2c7a0b171e7a0d6fbdd6d5a2acd003b, before dcb096258b059d83320c29ef012643c6f4ee00d8; from c1346a1216ab5cb04a265380ac9035d91b16b6d5, before d887960eda2512330d7fc2fa41339cc94bca3df0; from c1346a1216ab5cb04a265380ac9035d91b16b6d5, before 1cfd4174cd278eac259a0b6742bbf3f486a13603; from c1346a1216ab5cb04a265380ac9035d91b16b6d5, before b5ff29c96ea95d351ab14b9043a25844c26ed41d; from c1346a1216ab5cb04a265380ac9035d91b16b6d5, before 019cf7e0eebf6dc14b465cc984390b41c854da69; from c1346a1216ab5cb04a265380ac9035d91b16b6d5, before 20b76bdbd029343ea98944cb88bf016da2371739; and 3 more | dcb096258b059d83320c29ef012643c6f4ee00d8; d887960eda2512330d7fc2fa41339cc94bca3df0; 1cfd4174cd278eac259a0b6742bbf3f486a13603; b5ff29c96ea95d351ab14b9043a25844c26ed41d |
| Linux Linux | Software | 5.11 | not recorded |
The 9.4 severity score (critical) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | Low | The attacker can change some data, but not everything. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 3.9 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.5 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 8 sources for this flaw, none tagged as a vendor patch.