The Wikipedia data for yellow fever IFR [0] claims that the data are based on "optimally treated patients". The problem in some of the countries where a vaccination certificate is mandatory to enter is that they do not have healthcare infrastructure to adequately treat patients. Somewhere in the past I have seen statistics that during some African yellow-fever outbreaks, 25–50% of those infected perished, which is why states were so insistent on this vaccination specifically.
[0] https://en.wikipedia.org/wiki/List_of_human_disease_case_fat...