Two people were injured late Tuesday in a shooting in the Linden community in northern Cumberland County, the sheriff's office said.