News for hackers. Stuff that matters.
Re:Show HN: RISC-V assembly tabletop board game (hack your o... by Voultapher on Sunday October 01, 2023 @02:25PM (#37728860)
If I understand CHERI correctly it would be UAF + only intended pointer operations on pointers.
Re:Show HN: RISC-V assembly tabletop board game (hack your o... by sweetjuly on Sunday October 01, 2023 @11:02PM (#37733469)
Yeah, you get in-bounds access to the allocation so sub-allocation attacks/cross field is in the play. It's kinda a pain in the ass to turn that into a useful exploit primitive though, and anyways UAF is much easier because (at least with classic allocators) you can corrupt any allocation type. Hardened allocators make exploitable overlaps much harder though and so in practice CHERI's spatial safety might be enough to kill tons of bugs.