A histoplasmosis infection, which is caused by the fungus Histoplasma capsulatum, can result in skin lesions.