The package-decompression feature in HL7 (Health Level 7) FHIR Core Libraries before 5.6.106 allows attackers to copy arbitrary files to certain directories via directory traversal, if an allowed directory name is a substring of the directory name chosen by the attacker. NOTE: this issue exists because of an incomplete fix for CVE-2023-24057.
https://github.com/advisories/GHSA-9654-pr4f-gh6m
https://www.smilecdr.com/our-blog/statement-on-cve-2023-24057-smile-digital-health